From: Adrian Bunk Date: Fri, 6 Jan 2006 06:45:43 +0000 (-0800) Subject: [PATCH] drivers/net/gianfar.h: "extern inline" -> "static inline" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=504ddff4c0b8e31fa2a2775d6d484faeb126a265;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] drivers/net/gianfar.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: "David S. Miller" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- 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); }