Commit 504ddff4 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik

[PATCH] drivers/net/gianfar.h: "extern inline" -> "static inline"

"extern inline" doesn't make much sense.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent cceb904f
...@@ -718,14 +718,14 @@ struct gfar_private { ...@@ -718,14 +718,14 @@ struct gfar_private {
uint32_t msg_enable; uint32_t msg_enable;
}; };
extern inline u32 gfar_read(volatile unsigned *addr) static inline u32 gfar_read(volatile unsigned *addr)
{ {
u32 val; u32 val;
val = in_be32(addr); val = in_be32(addr);
return val; return val;
} }
extern inline void gfar_write(volatile unsigned *addr, u32 val) static inline void gfar_write(volatile unsigned *addr, u32 val)
{ {
out_be32(addr, val); out_be32(addr, val);
} }
......
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