]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fbdev: trivial fb_get_options fix for cyber2000fb and bw2fb
authorAntonino Daplas <adaplas@hotpop.com>
Tue, 19 Oct 2004 01:09:41 +0000 (18:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:09:41 +0000 (18:09 -0700)
Trivial fb_get_options fix for
- cyber200fb
- bw2fb

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/bw2.c
drivers/video/cyber2000fb.c

index 65b65addff6b0398ae5f6e6cacc90c9faa2a7eb3..3b2c5a5e6c120aa886a4193eaf7cce1699d563ae 100644 (file)
@@ -386,7 +386,7 @@ int __init bw2_init(void)
        struct sbus_bus *sbus;
        struct sbus_dev *sdev;
 
-       if (fb_get_options("bw2fb", &option))
+       if (fb_get_options("bw2fb", NULL))
                return -ENODEV;
 
 #ifdef CONFIG_SUN4
index cae177d1bd9c3a757fb9d68927fa2551ec45c323..0e3ab898b1e818d1bacc4572f22c726d0de0ac93 100644 (file)
@@ -1724,7 +1724,7 @@ int __init cyber2000fb_init(void)
 #ifndef MODULE
        char *option = NULL;
 
-       if (fb_get_options("cyber2000fb", NULL))
+       if (fb_get_options("cyber2000fb", &option))
                return -ENODEV;
        cyber2000fb_setup(option);
 #endif