mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:44:04 +02:00
small cpmac fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8881 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ddfe3fac99
commit
b37fa14eed
@ -1023,7 +1023,6 @@ static int __devinit cpmac_probe(struct platform_device *pdev)
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
SET_MODULE_OWNER(dev);
|
|
||||||
platform_set_drvdata(pdev, dev);
|
platform_set_drvdata(pdev, dev);
|
||||||
priv = netdev_priv(dev);
|
priv = netdev_priv(dev);
|
||||||
|
|
||||||
@ -1098,7 +1097,7 @@ static int __devexit cpmac_remove(struct platform_device *pdev)
|
|||||||
static struct platform_driver cpmac_driver = {
|
static struct platform_driver cpmac_driver = {
|
||||||
.driver.name = "cpmac",
|
.driver.name = "cpmac",
|
||||||
.probe = cpmac_probe,
|
.probe = cpmac_probe,
|
||||||
.remove = cpmac_remove,
|
.remove = __devexit_p(cpmac_remove),
|
||||||
};
|
};
|
||||||
|
|
||||||
int __devinit cpmac_init(void)
|
int __devinit cpmac_init(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user