summaryrefslogtreecommitdiffstats
path: root/drivers/video/bw2.c
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-04-28 00:16:59 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-28 00:16:59 +0200
commit2556bf1212c768f567401257582681aa117af4a9 (patch)
tree38e70af76d4c652c290482a83fa8a60110b12e57 /drivers/video/bw2.c
parentsparc64: Fix accidental syscall restart on child return from clone/fork/vfork. (diff)
downloadlinux-2556bf1212c768f567401257582681aa117af4a9.tar.xz
linux-2556bf1212c768f567401257582681aa117af4a9.zip
sparc: bw2.c fix bw2_exit
Fix void function bw2_exit returning value. Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/video/bw2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/bw2.c b/drivers/video/bw2.c
index 833b10c84064..bb0bb5532845 100644
--- a/drivers/video/bw2.c
+++ b/drivers/video/bw2.c
@@ -399,10 +399,9 @@ static int __init bw2_init(void)
static void __exit bw2_exit(void)
{
- return of_unregister_driver(&bw2_driver);
+ of_unregister_driver(&bw2_driver);
}
-
module_init(bw2_init);
module_exit(bw2_exit);