Changeset 9d05c6df in rtems


Ignore:
Timestamp:
Feb 11, 2015, 11:32:22 AM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
0355ad4
Parents:
126b25d
git-author:
Daniel Hellstrom <daniel@…> (02/11/15 11:32:22)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:24)
Message:

GRPWM: fix build warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/pwm/grpwm.c

    r126b25d r9d05c6df  
    325325}
    326326
    327 void grpwm_scaler_set(struct grpwm_regs *regs, int scaler, unsigned int value)
     327static void grpwm_scaler_set(
     328        struct grpwm_regs *regs,
     329        int scaler,
     330        unsigned int value)
    328331{
    329332        /* Select scaler */
     
    334337
    335338/* Write Wave form RAM */
    336 void grpwm_write_wram(struct grpwm_regs *regs, unsigned int *data, int length)
     339static void grpwm_write_wram(
     340        struct grpwm_regs *regs,
     341        unsigned int *data,
     342        int length)
    337343{
    338344        unsigned int *end;
     
    355361}
    356362
    357 void grpwm_hw_reset(struct grpwm_priv *priv)
     363static void grpwm_hw_reset(struct grpwm_priv *priv)
    358364{
    359365        int i;
     
    393399 * A bit mask of updated bits are returned.
    394400 */
    395 unsigned int grpwm_update_prepare_channel(
     401static unsigned int grpwm_update_prepare_channel(
    396402        struct grpwm_priv *priv,
    397403        int channel,
     
    442448}
    443449
    444 void grpwm_update_active(struct grpwm_priv *priv, int enable)
     450static void grpwm_update_active(struct grpwm_priv *priv, int enable)
    445451{
    446452        unsigned int ctrl;
     
    463469
    464470/* Configure the hardware of a channel according to this */
    465 rtems_status_code grpwm_config_channel(
     471static rtems_status_code grpwm_config_channel(
    466472        struct grpwm_priv *priv,
    467473        int channel,
Note: See TracChangeset for help on using the changeset viewer.