From: Krzysztof Hałasa Date: Sun, 10 Jan 2010 12:56:13 +0000 (+0100) Subject: IXP4xx: Make mdio_bus struct static in the Ethernet driver. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0409cb0dacb58c8796ab9a5ec1be9550c7bc8553;p=mv-sheeva.git IXP4xx: Make mdio_bus struct static in the Ethernet driver. Signed-off-by: Krzysztof Hałasa --- diff --git a/drivers/net/arm/ixp4xx_eth.c b/drivers/net/arm/ixp4xx_eth.c index 6be8b098b8b..656e2ae3228 100644 --- a/drivers/net/arm/ixp4xx_eth.c +++ b/drivers/net/arm/ixp4xx_eth.c @@ -241,7 +241,7 @@ static inline void memcpy_swab32(u32 *dest, u32 *src, int cnt) static spinlock_t mdio_lock; static struct eth_regs __iomem *mdio_regs; /* mdio command and status only */ -struct mii_bus *mdio_bus; +static struct mii_bus *mdio_bus; static int ports_open; static struct port *npe_port_tab[MAX_NPES]; static struct dma_pool *dma_pool;