Commit 9d8a9ae2 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

m68k: coldfire: move inline before return type

Make the code like the rest of the kernel.

Link: http://lkml.kernel.org/r/14db9c166d5b68efa77e337cfe49bb9b29bca3f7.1499284835.git.joe@perches.comSigned-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarGreg Ungerer <gerg@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c02f2a91
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#define EINT7 67 /* EDGE Port interrupt 7 */ #define EINT7 67 /* EDGE Port interrupt 7 */
static unsigned int irqebitmap[] = { 0, 1, 4, 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]; return irqebitmap[irq - EINT0];
} }
...@@ -51,7 +51,7 @@ static unsigned int inline irq2ebit(unsigned int irq) ...@@ -51,7 +51,7 @@ static unsigned int inline irq2ebit(unsigned int irq)
#define EINT1 65 /* EDGE Port interrupt 1 */ #define EINT1 65 /* EDGE Port interrupt 1 */
#define EINT7 71 /* EDGE Port interrupt 7 */ #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; return irq - EINT0;
} }
......
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