From e7a6b3e9dc60697fa10c619b45cfdcd48e2e13a8 Mon Sep 17 00:00:00 2001 From: Antonino Daplas Date: Mon, 18 Oct 2004 18:09:41 -0700 Subject: [PATCH] [PATCH] fbdev: trivial fb_get_options fix for cyber2000fb and bw2fb Trivial fb_get_options fix for - cyber200fb - bw2fb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/video/bw2.c | 2 +- drivers/video/cyber2000fb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/bw2.c b/drivers/video/bw2.c index 65b65addff6b0..3b2c5a5e6c120 100644 --- a/drivers/video/bw2.c +++ b/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 diff --git a/drivers/video/cyber2000fb.c b/drivers/video/cyber2000fb.c index cae177d1bd9c3..0e3ab898b1e81 100644 --- a/drivers/video/cyber2000fb.c +++ b/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 -- 2.53.0