Commit e7a6b3e9 authored by Antonino Daplas's avatar Antonino Daplas Committed by Linus Torvalds

[PATCH] fbdev: trivial fb_get_options fix for cyber2000fb and bw2fb

Trivial fb_get_options fix for
- cyber200fb
- bw2fb
Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ce97f430
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment