OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23c2a7b
)
[PATCH] jazzsonic: Fix platform device code
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 22 Nov 2005 00:19:44 +0000
(
00:19
+0000)
committer
Jeff Garzik
<jgarzik@pobox.com>
Thu, 1 Dec 2005 07:26:46 +0000
(
02:26
-0500)
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>
drivers/net/jazzsonic.c
patch
|
blob
|
history
diff --git
a/drivers/net/jazzsonic.c
b/drivers/net/jazzsonic.c
index
e1151d0
..
272d331
100644
(file)
--- 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;
}