[PATCH] drivers/net/gianfar.h: "extern inline" -> "static inline"
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
parent
cceb904f9b
commit
504ddff4c0
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue