From: Alexandre Buisse <alexandre.buisse@ens-lyon.fr>
To: Tomasz Torcz <zdzichu@irc.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: compilation error sound/pci/bt87x.c:807 [Re: Linux 2.6.13-rc2]
Date: Wed, 06 Jul 2005 16:35:36 +0200 [thread overview]
Message-ID: <42CBEC38.3030100@ens-lyon.fr> (raw)
In-Reply-To: <20050706091034.GA9095@irc.pl>
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
Tomasz Torcz wrote:
> CC [M] sound/pci/bt87x.o
>sound/pci/bt87x.c: In function `snd_bt87x_detect_card':
>sound/pci/bt87x.c:807: error: `driver' undeclared (first use in this function)
>sound/pci/bt87x.c:807: error: (Each undeclared identifier is reported only once
>sound/pci/bt87x.c:807: error: for each function it appears in.)
>make[2]: *** [sound/pci/bt87x.o] Error 1
>make[1]: *** [sound/pci] Error 2
>make: *** [sound] Error 2
>
>
Hi,
The attached patch should fix it.
Regards,
Alexandre
Signed-off-by: Alexandre Buisse <Alexandre.Buisse@ens-lyon.fr>
[-- Attachment #2: bt87x-driver-2.6.13-rc2.5.patch --]
[-- Type: text/x-patch, Size: 742 bytes --]
--- linux-2.6.13-rc2/sound/pci/bt87x.c.old 2005-07-06 16:29:08.000000000 +0200
+++ linux-2.6.13-rc2/sound/pci/bt87x.c 2005-07-06 16:25:05.000000000 +0200
@@ -47,6 +47,8 @@
static int digital_rate[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = 0 }; /* digital input rate */
static int load_all; /* allow to load the non-whitelisted cards */
+static struct pci_driver driver;
+
module_param_array(index, int, NULL, 0444);
MODULE_PARM_DESC(index, "Index value for Bt87x soundcard");
module_param_array(id, charp, NULL, 0444);
@@ -804,7 +806,7 @@
int i;
const struct pci_device_id *supported;
- supported = pci_match_device(driver, pci);
+ supported = pci_match_device(&driver, pci);
if (supported)
return supported->driver_data;
next prev parent reply other threads:[~2005-07-06 19:48 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-06 4:32 Linux 2.6.13-rc2 Linus Torvalds
2005-07-06 6:56 ` Jan Dittmer
2005-07-06 9:09 ` Linux 2.6.13-rc2 - Inconsistent kallsyms data Alexis Ballier
2005-07-06 13:45 ` Paulo Marques
2005-07-06 14:52 ` Alexis Ballier
2005-07-07 11:51 ` Paulo Marques
2005-07-06 15:33 ` Linux 2.6.13-rc2 Linus Torvalds
2005-07-06 15:53 ` Jan Dittmer
2005-07-06 15:55 ` Greg KH
2005-07-06 7:35 ` Matt Mackall
2005-07-06 8:59 ` Florian Weimer
2005-07-06 12:18 ` Paolo Ciarrocchi
2005-07-06 9:10 ` compilation error sound/pci/bt87x.c:807 [Re: Linux 2.6.13-rc2] Tomasz Torcz
2005-07-06 14:35 ` Alexandre Buisse [this message]
2005-07-06 9:28 ` Linux 2.6.13-rc2: PCMCIA problem on AMD64 Rafael J. Wysocki
2005-07-06 16:47 ` Greg KH
2005-07-06 17:16 ` Linus Torvalds
2005-07-06 20:36 ` Rafael J. Wysocki
2005-07-06 20:33 ` Rafael J. Wysocki
2005-07-06 21:43 ` Ivan Kokshaysky
2005-07-06 22:15 ` Rafael J. Wysocki
2005-07-06 23:01 ` Ivan Kokshaysky
2005-07-06 9:37 ` Linux 2.6.13-rc2 Eyal Lebedinsky
2005-07-06 15:42 ` Linus Torvalds
2005-07-06 15:51 ` Greg KH
2005-07-06 16:22 ` Linus Torvalds
2005-07-06 16:27 ` Greg KH
2005-07-07 9:46 ` Takashi Iwai
2005-07-07 18:39 ` Greg KH
2005-07-07 19:57 ` Takashi Iwai
2005-07-06 10:29 ` Matthias Andree
2005-07-06 10:30 ` Matthias Andree
2005-07-06 15:58 ` Linux 2.6.13-rc2 (build error with no CONFIG_HOTPLUG_PCI) Steven Cole
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=42CBEC38.3030100@ens-lyon.fr \
--to=alexandre.buisse@ens-lyon.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=zdzichu@irc.pl \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.