From: Adrian Bunk <bunk@fs.tum.de>
To: Marcelo Tosatti <marcelo@conectiva.com.br>,
Jean Tourrilhes <jt@bougret.hpl.hp.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.4.21-pre3
Date: Tue, 7 Jan 2003 18:01:14 +0100 [thread overview]
Message-ID: <20030107170113.GI6626@fs.tum.de> (raw)
In-Reply-To: <Pine.LNX.4.50L.0301061932140.8257-100000@freak.distro.conectiva>
On Mon, Jan 06, 2003 at 07:32:37PM -0200, Marcelo Tosatti wrote:
> So here goes -pre3...
>
>
> Summary of changes from v2.4.21-pre2 to v2.4.21-pre3
> ============================================
>...
> Jean Tourrilhes <jt@bougret.hpl.hp.com>:
>...
> o donauboe IrDA driver
>...
Please apply the patch below (stolen from 2.5) that does the following:
* C99 initializers
* fix public symbol name conflict (compile error if both donauboe and
toshoboe are compiled statically
into the kernel)
cu
Adrian
--- 1.1/drivers/net/irda/donauboe.c Fri Oct 11 10:26:35 2002
+++ 1.2/drivers/net/irda/donauboe.c Thu Nov 7 12:57:09 2002
@@ -1825,26 +1825,26 @@
return 0;
}
-static struct pci_driver toshoboe_pci_driver = {
- name : "toshoboe",
- id_table : toshoboe_pci_tbl,
- probe : toshoboe_open,
- remove : toshoboe_close,
- suspend : toshoboe_gotosleep,
- resume : toshoboe_wakeup
+static struct pci_driver donauboe_pci_driver = {
+ .name = "donauboe",
+ .id_table = toshoboe_pci_tbl,
+ .probe = toshoboe_open,
+ .remove = toshoboe_close,
+ .suspend = toshoboe_gotosleep,
+ .resume = toshoboe_wakeup
};
-int __init
-toshoboe_init (void)
+static int __init
+donauboe_init (void)
{
- return pci_module_init(&toshoboe_pci_driver);
+ return pci_module_init(&donauboe_pci_driver);
}
-STATIC void __exit
-toshoboe_cleanup (void)
+static void __exit
+donauboe_cleanup (void)
{
- pci_unregister_driver(&toshoboe_pci_driver);
+ pci_unregister_driver(&donauboe_pci_driver);
}
-module_init(toshoboe_init);
-module_exit(toshoboe_cleanup);
+module_init(donauboe_init);
+module_exit(donauboe_cleanup);
next prev parent reply other threads:[~2003-01-07 16:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-06 21:32 Linux 2.4.21-pre3 Marcelo Tosatti
2003-01-07 10:50 ` Linux 2.4.21-pre3: some compile fixes I needed Eyal Lebedinsky
2003-01-07 12:17 ` Linux 2.4.21-pre3 Dave Jones
2003-01-07 12:52 ` DervishD
2003-01-07 17:01 ` Adrian Bunk [this message]
2003-01-11 15:29 ` Christoph Hellwig
2003-01-11 22:15 ` Helge Deller
2003-01-12 0:11 ` [PATCH] non-G450/G550 build of matroxfb in 2.4.21-pre3 (was Re: Linux 2.4.21-pre3) Petr Vandrovec
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=20030107170113.GI6626@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=jt@bougret.hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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