summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-11-22 01:19:44 +0100
committerJeff Garzik <jgarzik@pobox.com>2005-12-01 08:26:46 +0100
commitee7ebdf40260c6c5586f20cda5d253bc988e7baa (patch)
tree23ab0c888dd77e6c2d0a141f712e1570060bd48d
parent[PATCH] jazzsonic: Fix build error. (diff)
downloadlinux-ee7ebdf40260c6c5586f20cda5d253bc988e7baa.tar.xz
linux-ee7ebdf40260c6c5586f20cda5d253bc988e7baa.zip
[PATCH] jazzsonic: Fix platform device code
Use platform_driver_unregister not driver_unregister to unregister a struct platform_driver. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r--drivers/net/jazzsonic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/jazzsonic.c b/drivers/net/jazzsonic.c
index e1151d00388e..272d331d29cd 100644
--- a/drivers/net/jazzsonic.c
+++ b/drivers/net/jazzsonic.c
@@ -307,7 +307,7 @@ static int __init jazz_sonic_init_module(void)
return 0;
out_unregister:
- driver_unregister(&jazz_sonic_driver);
+ platform_driver_unregister(&jazz_sonic_driver);
return -ENOMEM;
}