Skip to contentSkip to conversation

video: fbdev: omap: move inline before return type

PATCH New [email protected] 1 participant 1 message Jul 12, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 94/96 video: fbdev: omap: move inline before return type

From: Joe Perches <[email protected]>
Subject: video: fbdev: omap: move inline before return type

Make the code like the rest of the kernel.

---

 drivers/video/fbdev/omap/lcdc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/video/fbdev/omap/lcdc.c renamed from drivers/video/fbdev/omap/lcdc.c~video-fbdev-omap-move-inline-before-return-type +3 -3
diff -puN drivers/video/fbdev/omap/lcdc.c~video-fbdev-omap-move-inline-before-return-type drivers/video/fbdev/omap/lcdc.c
@@ -79,12 +79,12 @@ static struct omap_lcd_controller {
 	unsigned long		vram_size;
 } lcdc;
 
-static void inline enable_irqs(int mask)
+static inline void enable_irqs(int mask)
 {
 	lcdc.irq_mask |= mask;
 }
 
-static void inline disable_irqs(int mask)
+static inline void disable_irqs(int mask)
 {
 	lcdc.irq_mask &= ~mask;
 }
@@ -466,7 +466,7 @@ static void calc_ck_div(int is_tft, int
 	}
 }
 
-static void inline setup_regs(void)
+static inline void setup_regs(void)
 {
 	u32 l;
 	struct lcd_panel *panel = lcdc.fbdev->panel;

_