diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h index 94a91da84fbb7ac5abe74cd6e63332c48ca9afa5..cb9d66ac3ab999db27455027f553c321047a4cfc 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); }