Message ID | 1434699164-5750-1-git-send-email-j.anaszewski@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Jun 19, 2015 at 09:32:44AM +0200, Jacek Anaszewski wrote: > Fix sparse warning by adding static modifier to the function > init_mm_current_scale. > > Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
diff --git a/drivers/leds/leds-aat1290.c b/drivers/leds/leds-aat1290.c index 8635404..b055882 100644 --- a/drivers/leds/leds-aat1290.c +++ b/drivers/leds/leds-aat1290.c @@ -308,7 +308,7 @@ static void aat1290_led_validate_mm_current(struct aat1290_led *led, cfg->max_brightness = b + 1; } -int init_mm_current_scale(struct aat1290_led *led, +static int init_mm_current_scale(struct aat1290_led *led, struct aat1290_led_config_data *cfg) { int max_mm_current_percent[] = { 20, 22, 25, 28, 32, 36, 40, 45, 50, 56,
Fix sparse warning by adding static modifier to the function init_mm_current_scale. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> --- drivers/leds/leds-aat1290.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)