]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
backlight: omap1: fix checkpatch warning
authorJingoo Han <jg1.han@samsung.com>
Tue, 23 Oct 2012 02:50:27 +0000 (13:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 24 Oct 2012 03:20:20 +0000 (14:20 +1100)
This patch fixes the checkpatch warning as below:

ERROR: inline keyword should sit between storage class and type

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/omap1_bl.c

index 9a046a4c98f5db8865699f2304c2b50fa83e57e7..af31c269baa69802b6d9584a05ec576000011a09 100644 (file)
@@ -42,12 +42,12 @@ struct omap_backlight {
        struct omap_backlight_config *pdata;
 };
 
-static void inline omapbl_send_intensity(int intensity)
+static inline void omapbl_send_intensity(int intensity)
 {
        omap_writeb(intensity, OMAP_PWL_ENABLE);
 }
 
-static void inline omapbl_send_enable(int enable)
+static inline void omapbl_send_enable(int enable)
 {
        omap_writeb(enable, OMAP_PWL_CLK_ENABLE);
 }