diff options
Diffstat (limited to 'drivers/net/jazzsonic.c')
-rw-r--r-- | drivers/net/jazzsonic.c | 2 |
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) | |||
307 | return 0; | 307 | return 0; |
308 | 308 | ||
309 | out_unregister: | 309 | out_unregister: |
310 | driver_unregister(&jazz_sonic_driver); | 310 | platform_driver_unregister(&jazz_sonic_driver); |
311 | 311 | ||
312 | return -ENOMEM; | 312 | return -ENOMEM; |
313 | } | 313 | } |