From: Al Viro Date: Sun, 4 Dec 2005 07:28:40 +0000 (-0500) Subject: [PATCH] macsonic.c: missed s/driver_unregister/platform_driver_unregister/ X-Git-Tag: v2.6.17-rc1~1186^2~57^2^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7;p=linux-2.6 [PATCH] macsonic.c: missed s/driver_unregister/platform_driver_unregister/ Signed-off-by: Al Viro --- diff --git a/drivers/net/macsonic.c b/drivers/net/macsonic.c index 02d5c68227..f6f3dafe83 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; }