IXP4xx: Make mdio_bus struct static in the Ethernet driver.
authorKrzysztof Hałasa <khc@pm.waw.pl>
Sun, 10 Jan 2010 12:56:13 +0000 (13:56 +0100)
committerKrzysztof Hałasa <khc@pm.waw.pl>
Thu, 27 May 2010 11:02:42 +0000 (13:02 +0200)
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
drivers/net/arm/ixp4xx_eth.c

index 6be8b098b8b48b58be55df6aaf529dabee07decc..656e2ae322806f9b05907e6da6743ae27d40517c 100644 (file)
@@ -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;