summaryrefslogtreecommitdiff
path: root/drivers/net/macsonic.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2005-12-04 02:28:40 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-01-28 21:42:22 -0500
commitded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7 (patch)
tree6755ae998e3b1710ed1d30643aff4582c1960a4b /drivers/net/macsonic.c
parent976345cc0fb34d677233b5b22d4819dc7ac92ef1 (diff)
downloadlwn-ded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7.tar.gz
lwn-ded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7.zip
[PATCH] macsonic.c: missed s/driver_unregister/platform_driver_unregister/
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/net/macsonic.c')
-rw-r--r--drivers/net/macsonic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macsonic.c b/drivers/net/macsonic.c
index 02d5c6822733..f6f3dafe83ee 100644
--- a/drivers/net/macsonic.c
+++ b/drivers/net/macsonic.c
@@ -622,7 +622,7 @@ static int __init mac_sonic_init_module(void)
return 0;
out_unregister:
- driver_unregister(&mac_sonic_driver);
+ platform_driver_unregister(&mac_sonic_driver);
return -ENOMEM;
}