summaryrefslogtreecommitdiff
path: root/drivers/net/jazzsonic.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-11-22 00:19:44 +0000
committerJeff Garzik <jgarzik@pobox.com>2005-12-01 02:26:46 -0500
commitee7ebdf40260c6c5586f20cda5d253bc988e7baa (patch)
tree23ab0c888dd77e6c2d0a141f712e1570060bd48d /drivers/net/jazzsonic.c
parent23c2a7b5dea983c7cee2813817409552f9714e95 (diff)
downloadlinux-3.10-ee7ebdf40260c6c5586f20cda5d253bc988e7baa.tar.gz
linux-3.10-ee7ebdf40260c6c5586f20cda5d253bc988e7baa.tar.bz2
linux-3.10-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>
Diffstat (limited to 'drivers/net/jazzsonic.c')
-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 e1151d00388..272d331d29c 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;
}