diff options
Diffstat (limited to 'cds9k-led.c')
-rw-r--r-- | cds9k-led.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cds9k-led.c b/cds9k-led.c index 55f4ce7..3de9e98 100644 --- a/cds9k-led.c +++ b/cds9k-led.c @@ -19,9 +19,9 @@ struct cds9k_led { u32 base; }; -int cds9k_led_blink_set(struct led_classdev *led_cdev, - unsigned long *delay_on, - unsigned long *delay_off) +static int cds9k_led_blink_set(struct led_classdev *led_cdev, + unsigned long *delay_on, + unsigned long *delay_off) { struct cds9k_led *led = container_of(led_cdev, struct cds9k_led, cdev); unsigned long blink_value; @@ -35,8 +35,8 @@ int cds9k_led_blink_set(struct led_classdev *led_cdev, return regmap_write(led->regmap, led->base + LED_REG_PERIOD, blink_value); } -void cds9k_led_brightness_set(struct led_classdev *led_cdev, - enum led_brightness brightness) +static void cds9k_led_brightness_set(struct led_classdev *led_cdev, + enum led_brightness brightness) { unsigned long blink_off = 0; struct cds9k_led *led = container_of(led_cdev, struct cds9k_led, cdev); @@ -45,7 +45,7 @@ void cds9k_led_brightness_set(struct led_classdev *led_cdev, cds9k_led_blink_set(led_cdev, &blink_off, &blink_off); } -enum led_brightness cds9k_led_brightness_get(struct led_classdev *led_cdev) +static enum led_brightness cds9k_led_brightness_get(struct led_classdev *led_cdev) { int ret; unsigned int brightness; |