diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-12-17 19:00:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 20:15:15 -0500 |
commit | 7a94f653edd964f2d3d2266212dc4e86cf47ed32 (patch) | |
tree | 3f95eb98e05d2e3a26d7c41a51ee120810227ab9 /drivers/video | |
parent | d7b6bdaaa60889aeb5fb1fc70c92114e881e1fc7 (diff) |
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 <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/omap1_bl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
42 | struct omap_backlight_config *pdata; | 42 | struct omap_backlight_config *pdata; |
43 | }; | 43 | }; |
44 | 44 | ||
45 | static void inline omapbl_send_intensity(int intensity) | 45 | static inline void omapbl_send_intensity(int intensity) |
46 | { | 46 | { |
47 | omap_writeb(intensity, OMAP_PWL_ENABLE); | 47 | omap_writeb(intensity, OMAP_PWL_ENABLE); |
48 | } | 48 | } |
49 | 49 | ||
50 | static void inline omapbl_send_enable(int enable) | 50 | static inline void omapbl_send_enable(int enable) |
51 | { | 51 | { |
52 | omap_writeb(enable, OMAP_PWL_CLK_ENABLE); | 52 | omap_writeb(enable, OMAP_PWL_CLK_ENABLE); |
53 | } | 53 | } |