diff options
author | Matteo Croce <rootkit85@yahoo.it> | 2007-09-20 16:31:23 +0000 |
---|---|---|
committer | Matteo Croce <rootkit85@yahoo.it> | 2007-09-20 16:31:23 +0000 |
commit | f0f0047aecbb9484ff4655f6e5ac764be20d568d (patch) | |
tree | 203e32323030dcb3d81814c06571c55e6b56216d /target | |
parent | 2bdbb3915bac859d1c7ebb532e6cfe19e6ce9d42 (diff) | |
download | upstream-f0f0047aecbb9484ff4655f6e5ac764be20d568d.tar.gz upstream-f0f0047aecbb9484ff4655f6e5ac764be20d568d.tar.bz2 upstream-f0f0047aecbb9484ff4655f6e5ac764be20d568d.zip |
small cpmac fixes
SVN-Revision: 8881
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar7/files/drivers/net/cpmac.c | 3 |
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) |