netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] IXP4xx: Silence section mismatch warning in Ethernet driver.
@ 2008-12-21  1:11 Krzysztof Halasa
  2008-12-21  1:12 ` [RFC] IXP4xx: Make the Ethernet driver use built-in netdev stats Krzysztof Halasa
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Krzysztof Halasa @ 2008-12-21  1:11 UTC (permalink / raw)
  To: netdev

Few patches I'm posting for review only.

Not for operational use.

    IXP4xx: Silence section mismatch warning in Ethernet driver.

--- a/drivers/net/arm/ixp4xx_eth.c
+++ b/drivers/net/arm/ixp4xx_eth.c
@@ -1232,7 +1232,7 @@ static int __devexit eth_remove_one(struct platform_device *pdev)
 	return 0;
 }
 
-static struct platform_driver drv = {
+static struct platform_driver ixp4xx_eth_driver = {
 	.driver.name	= DRV_NAME,
 	.probe		= eth_init_one,
 	.remove		= eth_remove_one,
@@ -1248,12 +1248,12 @@ static int __init eth_init_module(void)
 	mdio_regs = (struct eth_regs __iomem *)IXP4XX_EthB_BASE_VIRT;
 	__raw_writel(DEFAULT_CORE_CNTRL, &mdio_regs->core_control);
 
-	return platform_driver_register(&drv);
+	return platform_driver_register(&ixp4xx_eth_driver);
 }
 
 static void __exit eth_cleanup_module(void)
 {
-	platform_driver_unregister(&drv);
+	platform_driver_unregister(&ixp4xx_eth_driver);
 }
 
 MODULE_AUTHOR("Krzysztof Halasa");

-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-12-21  1:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-21  1:11 [RFC] IXP4xx: Silence section mismatch warning in Ethernet driver Krzysztof Halasa
2008-12-21  1:12 ` [RFC] IXP4xx: Make the Ethernet driver use built-in netdev stats Krzysztof Halasa
2008-12-21  1:14 ` [RFC] IXP4xx: Add PHYLIB support to Ethernet driver Krzysztof Halasa
2008-12-21  1:15 ` [RFC] IXP4xx: Add PHYLIB MII ioctl to the " Krzysztof Halasa
2008-12-21  1:16 ` [RFC] IXP4xx: Add ethtool support to " Krzysztof Halasa
2008-12-21  1:28 ` [RFC] WAN: Add IXP4xx HSS HDLC driver Krzysztof Halasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).