summaryrefslogtreecommitdiff
path: root/drivers/net/arm
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2010-01-10 15:56:13 +0300
committerKrzysztof Hałasa <khc@pm.waw.pl>2010-05-27 15:02:42 +0400
commit0409cb0dacb58c8796ab9a5ec1be9550c7bc8553 (patch)
tree90a15bcc331986bc6f1a846ed2ae3c70ea49fcf1 /drivers/net/arm
parentce057297fdab808d9a071c084b7405bc6c8d14c5 (diff)
downloadlinux-0409cb0dacb58c8796ab9a5ec1be9550c7bc8553.tar.xz
IXP4xx: Make mdio_bus struct static in the Ethernet driver.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'drivers/net/arm')
-rw-r--r--drivers/net/arm/ixp4xx_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/arm/ixp4xx_eth.c b/drivers/net/arm/ixp4xx_eth.c
index 6be8b098b8b4..656e2ae32280 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;