aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2010-01-10 13:56:13 +0100
committerKrzysztof Hałasa <khc@pm.waw.pl>2010-05-27 13:02:42 +0200
commit0409cb0dacb58c8796ab9a5ec1be9550c7bc8553 (patch)
tree90a15bcc331986bc6f1a846ed2ae3c70ea49fcf1
parentce057297fdab808d9a071c084b7405bc6c8d14c5 (diff)
downloadkernel_samsung_espresso10-0409cb0dacb58c8796ab9a5ec1be9550c7bc8553.zip
kernel_samsung_espresso10-0409cb0dacb58c8796ab9a5ec1be9550c7bc8553.tar.gz
kernel_samsung_espresso10-0409cb0dacb58c8796ab9a5ec1be9550c7bc8553.tar.bz2
IXP4xx: Make mdio_bus struct static in the Ethernet driver.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
-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 6be8b09..656e2ae 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;