summaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-06 07:45:43 +0100
committerJeff Garzik <jgarzik@pobox.com>2006-01-09 16:54:47 +0100
commit504ddff4c0b8e31fa2a2775d6d484faeb126a265 (patch)
treed785d62ace5cd35252038864d2c09b0b58f647f8 /drivers/net/gianfar.h
parent[PATCH] drivers/net/bonding/bonding.h: "extern inline" -> "static inline" (diff)
downloadlinux-504ddff4c0b8e31fa2a2775d6d484faeb126a265.tar.xz
linux-504ddff4c0b8e31fa2a2775d6d484faeb126a265.zip
[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>
Diffstat (limited to 'drivers/net/gianfar.h')
-rw-r--r--drivers/net/gianfar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h
index 94a91da84fbb..cb9d66ac3ab9 100644
--- a/drivers/net/gianfar.h
+++ b/drivers/net/gianfar.h
@@ -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);
}