]> git.baikalelectronics.ru Git - kernel.git/commitdiff
m68k: coldfire: move inline before return type
authorJoe Perches <joe@perches.com>
Wed, 12 Jul 2017 21:37:22 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Jul 2017 23:26:04 +0000 (16:26 -0700)
Make the code like the rest of the kernel.

Link: http://lkml.kernel.org/r/14db9c166d5b68efa77e337cfe49bb9b29bca3f7.1499284835.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68k/coldfire/intc-simr.c

index 7cf2c156f72d2f5fa045ae1fcbc033a5f34cdec0..15c4b7a6e38f4c5759331fb8067671b4cf695371 100644 (file)
@@ -35,7 +35,7 @@
 #define        EINT7   67      /* EDGE Port interrupt 7 */
 
 static unsigned int irqebitmap[] = { 0, 1, 4, 7 };
-static unsigned int inline irq2ebit(unsigned int irq)
+static inline unsigned int irq2ebit(unsigned int irq)
 {
        return irqebitmap[irq - EINT0];
 }
@@ -51,7 +51,7 @@ static unsigned int inline irq2ebit(unsigned int irq)
 #define        EINT1   65      /* EDGE Port interrupt 1 */
 #define        EINT7   71      /* EDGE Port interrupt 7 */
 
-static unsigned int inline irq2ebit(unsigned int irq)
+static inline unsigned int irq2ebit(unsigned int irq)
 {
        return irq - EINT0;
 }