From b37fa14eed52fb77f6d6a5cac2c72b8c7916a6af Mon Sep 17 00:00:00 2001 From: matteo Date: Thu, 20 Sep 2007 16:31:23 +0000 Subject: small cpmac fixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8881 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7/files/drivers/net/cpmac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target/linux/ar7') diff --git a/target/linux/ar7/files/drivers/net/cpmac.c b/target/linux/ar7/files/drivers/net/cpmac.c index 1134a0306..cb2fb4097 100644 --- a/target/linux/ar7/files/drivers/net/cpmac.c +++ b/target/linux/ar7/files/drivers/net/cpmac.c @@ -1023,7 +1023,6 @@ static int __devinit cpmac_probe(struct platform_device *pdev) return -ENOMEM; } - SET_MODULE_OWNER(dev); platform_set_drvdata(pdev, dev); priv = netdev_priv(dev); @@ -1098,7 +1097,7 @@ static int __devexit cpmac_remove(struct platform_device *pdev) static struct platform_driver cpmac_driver = { .driver.name = "cpmac", .probe = cpmac_probe, - .remove = cpmac_remove, + .remove = __devexit_p(cpmac_remove), }; int __devinit cpmac_init(void) -- cgit v1.2.3