]> err.no Git - linux-2.6/commitdiff
[PATCH] macsonic.c: missed s/driver_unregister/platform_driver_unregister/
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Dec 2005 07:28:40 +0000 (02:28 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jan 2006 02:42:22 +0000 (21:42 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/macsonic.c

index 02d5c6822733440f3c78b8e2b1b6c5f8787707a9..f6f3dafe83ee9a1afdfab032cd7a17130ea730a3 100644 (file)
@@ -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;
 }