mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
	Antonino Daplas <adaplas@pol.net>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: [PATCH] FrameMaster II build fix (was: Re: Linux 2.6.9-rc2)
Date: Mon, 11 Oct 2004 23:30:59 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0410112328340.11223@anakin> (raw)
In-Reply-To: <Pine.LNX.4.58.0409130937050.4094@ppc970.osdl.org>

On Mon, 13 Sep 2004, Linus Torvalds wrote:
> Summary of changes from v2.6.9-rc1 to v2.6.9-rc2
> ============================================
> 
> Antonino Daplas:
>   o fbdev: Add module_init() and fb_get_options() per driver

To: linus, akpm
Cc: lkml
Subject: [PATCH] FrameMaster II build fix

fm2fb: Trivial fix for the breakage introduced by the addition of
fb_get_options() in 2.6.9-rc2.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

--- linux-2.6.9-rc4/drivers/video/fm2fb.c	2004-09-30 12:53:50.000000000 +0200
+++ linux-m68k-2.6.9-rc4/drivers/video/fm2fb.c	2004-10-11 23:06:38.000000000 +0200
@@ -292,18 +292,7 @@ static int __devinit fm2fb_probe(struct 
 	return 0;
 }
 
-int __init fm2fb_setup(char *options);
-
-int __init fm2fb_init(void)
-{
-	char *option = NULL;
-
-	if (fb_get_options("fm2fb", &option))
-		return -ENODEV;
-	fm2fb_setup(option);
-	return zorro_register_driver(&fm2fb_driver);
-}
-
+int __init fm2fb_setup(char *options)
 {
 	char *this_opt;
 
@@ -319,5 +308,15 @@ int __init fm2fb_init(void)
 	return 0;
 }
 
+int __init fm2fb_init(void)
+{
+	char *option = NULL;
+
+	if (fb_get_options("fm2fb", &option))
+		return -ENODEV;
+	fm2fb_setup(option);
+	return zorro_register_driver(&fm2fb_driver);
+}
+
 module_init(fm2fb_init);
 MODULE_LICENSE("GPL");

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

      parent reply	other threads:[~2004-10-11 21:31 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13 16:40 Linux 2.6.9-rc2 Linus Torvalds
2004-09-13 20:03 ` Linux 2.6.9-rc2 : oops Christian Borntraeger
2004-09-13 20:39   ` Linus Torvalds
2004-09-13 21:00     ` Andrew Morton
2004-09-13 21:22       ` Christian Borntraeger
2004-09-13 21:15     ` Christian Borntraeger
2004-09-13 21:23       ` Linus Torvalds
2004-09-13 21:57 ` Linux 2.6.9-rc2 Peter Osterlund
2004-09-14  9:49   ` Gerd Knorr
2004-09-14 22:30     ` Peter Osterlund
2004-09-15  7:08       ` Gerd Knorr
2004-09-15 18:44         ` Peter Osterlund
2004-09-26  7:05   ` Peter Osterlund
2004-09-26 19:26     ` Gerd Knorr
2004-09-14 13:12 ` Geert Uytterhoeven
2004-09-15 10:22 ` Eric BEGOT
2004-09-20 17:07 ` Linux 2.6.9-rc2 (compile stats) John Cherry
2004-09-20 20:23   ` Giuseppe Bilotta
2004-09-20 20:46     ` Jesper Juhl
2004-09-20 22:23       ` Giuseppe Bilotta
2004-10-11 21:30 ` Geert Uytterhoeven [this message]

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=Pine.LNX.4.61.0410112328340.11223@anakin \
    --to=geert@linux-m68k.org \
    --cc=adaplas@pol.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®