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-Tag: v2.6.16-rc1~669^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=504ddff4c0b8e31fa2a2775d6d484faeb126a265;p=linux-2.6 [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 94a91da84f..cb9d66ac3a 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); }