Commit ba168a46 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

video: fbdev: omap: move inline before return type

Make the code like the rest of the kernel.

Link: http://lkml.kernel.org/r/bc5927726abc70d7c066df7ab4cb7cfce4a7b577.1499284835.git.joe@perches.comSigned-off-by: default avatarJoe Perches <joe@perches.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent dce39447
...@@ -79,12 +79,12 @@ static struct omap_lcd_controller { ...@@ -79,12 +79,12 @@ static struct omap_lcd_controller {
unsigned long vram_size; unsigned long vram_size;
} lcdc; } lcdc;
static void inline enable_irqs(int mask) static inline void enable_irqs(int mask)
{ {
lcdc.irq_mask |= mask; lcdc.irq_mask |= mask;
} }
static void inline disable_irqs(int mask) static inline void disable_irqs(int mask)
{ {
lcdc.irq_mask &= ~mask; lcdc.irq_mask &= ~mask;
} }
...@@ -466,7 +466,7 @@ static void calc_ck_div(int is_tft, int pck, int *pck_div) ...@@ -466,7 +466,7 @@ static void calc_ck_div(int is_tft, int pck, int *pck_div)
} }
} }
static void inline setup_regs(void) static inline void setup_regs(void)
{ {
u32 l; u32 l;
struct lcd_panel *panel = lcdc.fbdev->panel; struct lcd_panel *panel = lcdc.fbdev->panel;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment