From: Jingoo Han Date: Fri, 9 Nov 2012 03:04:43 +0000 (+1100) Subject: backlight: omap1: fix checkpatch warning X-Git-Tag: next-20121112~5^2~116 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=210410b150c835a5da1ed3cbc7e899cb0e7010a2;p=karo-tx-linux.git backlight: omap1: fix checkpatch warning This patch fixes the checkpatch warning as below: ERROR: inline keyword should sit between storage class and type Signed-off-by: Jingoo Han Cc: Richard Purdie Signed-off-by: Andrew Morton --- diff --git a/drivers/video/backlight/omap1_bl.c b/drivers/video/backlight/omap1_bl.c index 9a046a4c98f5..af31c269baa6 100644 --- a/drivers/video/backlight/omap1_bl.c +++ b/drivers/video/backlight/omap1_bl.c @@ -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); }