Skip to content

Commit

Permalink
backlight: omap1: fix checkpatch warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed Dec 18, 2012
1 parent d7b6bda commit 7a94f65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/backlight/omap1_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7a94f65

Please sign in to comment.