aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smc91x.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-02 22:50:27 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-02 22:50:27 -0500
commitaa2ba5f1082dc705745899584aac8416d710c056 (patch)
treebde0bf4aff036c6bac19a0212194ae1092afb3c9 /drivers/net/smc91x.c
parent68024541e2e5a8f35e281daaa5068a29e2a538a5 (diff)
parentf6f7b52e2f6149d2ee365717afff315b05720162 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/ixgbe/ixgbe_main.c drivers/net/smc91x.c
Diffstat (limited to 'drivers/net/smc91x.c')
-rw-r--r--drivers/net/smc91x.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c
index 5879c719b538..54912aadf4b2 100644
--- a/drivers/net/smc91x.c
+++ b/drivers/net/smc91x.c
@@ -1695,7 +1695,7 @@ static const struct ethtool_ops smc_ethtool_ops = {
1695 * I just deleted auto_irq.c, since it was never built... 1695 * I just deleted auto_irq.c, since it was never built...
1696 * --jgarzik 1696 * --jgarzik
1697 */ 1697 */
1698static int __init smc_findirq(struct smc_local *lp) 1698static int __devinit smc_findirq(struct smc_local *lp)
1699{ 1699{
1700 void __iomem *ioaddr = lp->base; 1700 void __iomem *ioaddr = lp->base;
1701 int timeout = 20; 1701 int timeout = 20;
@@ -1769,7 +1769,7 @@ static int __init smc_findirq(struct smc_local *lp)
1769 * o actually GRAB the irq. 1769 * o actually GRAB the irq.
1770 * o GRAB the region 1770 * o GRAB the region
1771 */ 1771 */
1772static int __init smc_probe(struct net_device *dev, void __iomem *ioaddr, 1772static int __devinit smc_probe(struct net_device *dev, void __iomem *ioaddr,
1773 unsigned long irq_flags) 1773 unsigned long irq_flags)
1774{ 1774{
1775 struct smc_local *lp = netdev_priv(dev); 1775 struct smc_local *lp = netdev_priv(dev);
@@ -2124,7 +2124,7 @@ static void smc_release_datacs(struct platform_device *pdev, struct net_device *
2124 * 0 --> there is a device 2124 * 0 --> there is a device
2125 * anything else, error 2125 * anything else, error
2126 */ 2126 */
2127static int __init smc_drv_probe(struct platform_device *pdev) 2127static int __devinit smc_drv_probe(struct platform_device *pdev)
2128{ 2128{
2129 struct smc91x_platdata *pd = pdev->dev.platform_data; 2129 struct smc91x_platdata *pd = pdev->dev.platform_data;
2130 struct smc_local *lp; 2130 struct smc_local *lp;
@@ -2238,7 +2238,7 @@ static int __init smc_drv_probe(struct platform_device *pdev)
2238 return ret; 2238 return ret;
2239} 2239}
2240 2240
2241static int smc_drv_remove(struct platform_device *pdev) 2241static int __devexit smc_drv_remove(struct platform_device *pdev)
2242{ 2242{
2243 struct net_device *ndev = platform_get_drvdata(pdev); 2243 struct net_device *ndev = platform_get_drvdata(pdev);
2244 struct smc_local *lp = netdev_priv(ndev); 2244 struct smc_local *lp = netdev_priv(ndev);
@@ -2303,7 +2303,7 @@ static int smc_drv_resume(struct platform_device *dev)
2303 2303
2304static struct platform_driver smc_driver = { 2304static struct platform_driver smc_driver = {
2305 .probe = smc_drv_probe, 2305 .probe = smc_drv_probe,
2306 .remove = smc_drv_remove, 2306 .remove = __devexit_p(smc_drv_remove),
2307 .suspend = smc_drv_suspend, 2307 .suspend = smc_drv_suspend,
2308 .resume = smc_drv_resume, 2308 .resume = smc_drv_resume,
2309 .driver = { 2309 .driver = {