From: "Antonino A. Daplas" <adaplas@hotpop.com>
To: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>
Subject: [PATCH] fbdev: trivial fb_get_options fix for cyber2000fb and bw2fb
Date: Tue, 12 Oct 2004 09:04:33 +0800 [thread overview]
Message-ID: <200410120904.35862.adaplas@hotpop.com> (raw)
Trivial fb_get_options fix for
- cyber200fb
- bw2fb
Signed-off-by: Antonino Daplas <adaplas@pol.net>
---
bw2.c | 2 +-
cyber2000fb.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -uprN linux-2.6.9-rc3-mm3-orig/drivers/video/bw2.c linux-2.6.9-rc3-mm3/drivers/video/bw2.c
--- linux-2.6.9-rc3-mm3-orig/drivers/video/bw2.c 2004-10-12 08:57:28.613795144 +0800
+++ linux-2.6.9-rc3-mm3/drivers/video/bw2.c 2004-10-12 08:56:51.244476144 +0800
@@ -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 -uprN linux-2.6.9-rc3-mm3-orig/drivers/video/cyber2000fb.c linux-2.6.9-rc3-mm3/drivers/video/cyber2000fb.c
--- linux-2.6.9-rc3-mm3-orig/drivers/video/cyber2000fb.c 2004-10-12 08:57:33.672026176 +0800
+++ linux-2.6.9-rc3-mm3/drivers/video/cyber2000fb.c 2004-10-12 08:56:59.958151464 +0800
@@ -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
reply other threads:[~2004-10-12 1:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200410120904.35862.adaplas@hotpop.com \
--to=adaplas@hotpop.com \
--cc=akpm@osdl.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).