提交 504ddff4 编写于 作者: A Adrian Bunk 提交者: Jeff Garzik

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

"extern inline" doesn't make much sense.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 cceb904f
......@@ -718,14 +718,14 @@ struct gfar_private {
uint32_t msg_enable;
};
extern inline u32 gfar_read(volatile unsigned *addr)
static inline u32 gfar_read(volatile unsigned *addr)
{
u32 val;
val = in_be32(addr);
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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册