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>
This commit is contained in:
Jingoo Han 2012-12-17 16:00:29 -08:00 committed by Linus Torvalds
parent d7b6bdaaa6
commit 7a94f653ed
1 changed files with 2 additions and 2 deletions

View 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);
}