浏览代码

IXP4xx: Make mdio_bus struct static in the Ethernet driver.

Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Krzysztof Hałasa 15 年之前
父节点
当前提交
0409cb0dac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/arm/ixp4xx_eth.c

+ 1 - 1
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;