Skip to contentSkip to conversation

fbdev: trivial fb_get_options fix for cyber2000fb and bw2fb

PATCH New Antonino A. Daplas 1 participant 1 message Oct 12, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbdev: trivial fb_get_options fix for cyber2000fb and bw2fb

Trivial fb_get_options fix for
- cyber200fb
- bw2fb

---

 bw2.c         |    2 +-
 cyber2000fb.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/bw2.c +1 -1
diff -uprN linux-2.6.9-rc3-mm3-orig/drivers/video/bw2.c linux-2.6.9-rc3-mm3/drivers/video/bw2.c
@@ -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
drivers/video/cyber2000fb.c +1 -1
diff -uprN linux-2.6.9-rc3-mm3-orig/drivers/video/cyber2000fb.c linux-2.6.9-rc3-mm3/drivers/video/cyber2000fb.c
@@ -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

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl