aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/arm
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2008-11-26 16:59:18 -0500
committerKrzysztof Hałasa <khc@pm.waw.pl>2008-12-21 18:41:50 -0500
commit3c36a837a960ccbff05fa773a495c389fbd42f0e (patch)
tree918d710ad94f67536119f1b39807e4f7c610f4d5 /drivers/net/arm
parentae2754a975694a3865788e303b741d0f616bc43a (diff)
IXP4xx: Silence section mismatch warning in 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/arm/ixp4xx_eth.c b/drivers/net/arm/ixp4xx_eth.c
index 14ffa2a61890..e6e4004b13bb 100644
--- a/drivers/net/arm/ixp4xx_eth.c
+++ b/drivers/net/arm/ixp4xx_eth.c
@@ -1231,7 +1231,7 @@ static int __devexit eth_remove_one(struct platform_device *pdev)
1231 return 0; 1231 return 0;
1232} 1232}
1233 1233
1234static struct platform_driver drv = { 1234static struct platform_driver ixp4xx_eth_driver = {
1235 .driver.name = DRV_NAME, 1235 .driver.name = DRV_NAME,
1236 .probe = eth_init_one, 1236 .probe = eth_init_one,
1237 .remove = eth_remove_one, 1237 .remove = eth_remove_one,
@@ -1247,12 +1247,12 @@ static int __init eth_init_module(void)
1247 mdio_regs = (struct eth_regs __iomem *)IXP4XX_EthB_BASE_VIRT; 1247 mdio_regs = (struct eth_regs __iomem *)IXP4XX_EthB_BASE_VIRT;
1248 __raw_writel(DEFAULT_CORE_CNTRL, &mdio_regs->core_control); 1248 __raw_writel(DEFAULT_CORE_CNTRL, &mdio_regs->core_control);
1249 1249
1250 return platform_driver_register(&drv); 1250 return platform_driver_register(&ixp4xx_eth_driver);
1251} 1251}
1252 1252
1253static void __exit eth_cleanup_module(void) 1253static void __exit eth_cleanup_module(void)
1254{ 1254{
1255 platform_driver_unregister(&drv); 1255 platform_driver_unregister(&ixp4xx_eth_driver);
1256} 1256}
1257 1257
1258MODULE_AUTHOR("Krzysztof Halasa"); 1258MODULE_AUTHOR("Krzysztof Halasa");