aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/files/drivers
diff options
context:
space:
mode:
authorMatteo Croce <matteo@openwrt.org>2007-09-20 16:31:23 +0000
committerMatteo Croce <matteo@openwrt.org>2007-09-20 16:31:23 +0000
commitde8ec15d552ae587f38272827f01dad34b3bec70 (patch)
tree130a1d4cea2353c895002613219c6872b4c09834 /target/linux/ar7/files/drivers
parentcc2ee98a96e2cf2b87184e29efac5c4828405cca (diff)
downloadupstream-de8ec15d552ae587f38272827f01dad34b3bec70.tar.gz
upstream-de8ec15d552ae587f38272827f01dad34b3bec70.tar.bz2
upstream-de8ec15d552ae587f38272827f01dad34b3bec70.zip
small cpmac fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8881 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/files/drivers')
-rw-r--r--target/linux/ar7/files/drivers/net/cpmac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ar7/files/drivers/net/cpmac.c b/target/linux/ar7/files/drivers/net/cpmac.c
index 1134a03068..cb2fb40976 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)