public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux 2.6.13-rc2 Compile error in bt87x.c
@ 2005-07-06 11:44 Ben Castricum
  2005-07-06 16:43 ` Greg KH
  2005-07-06 18:15 ` Alexander Fieroch
  0 siblings, 2 replies; 3+ messages in thread
From: Ben Castricum @ 2005-07-06 11:44 UTC (permalink / raw)
  To: linux-kernel


  CC [M]  sound/pci/bt87x.o
sound/pci/bt87x.c: In function `snd_bt87x_detect_card':
sound/pci/bt87x.c:807: `driver' undeclared (first use in this function)
sound/pci/bt87x.c:807: (Each undeclared identifier is reported only once
sound/pci/bt87x.c:807: for each function it appears in.)
sound/pci/bt87x.c: At top level:
sound/pci/bt87x.c:910: `driver' used prior to declaration
make[2]: *** [sound/pci/bt87x.o] Error 1
make[1]: *** [sound/pci] Error 2
make: *** [sound] Error 2

My .config can be found at http://www.bencastricum.nl/.config

Hope this helps,
Ben

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Linux 2.6.13-rc2 Compile error in bt87x.c
  2005-07-06 11:44 Linux 2.6.13-rc2 Compile error in bt87x.c Ben Castricum
@ 2005-07-06 16:43 ` Greg KH
  2005-07-06 18:15 ` Alexander Fieroch
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2005-07-06 16:43 UTC (permalink / raw)
  To: Ben Castricum; +Cc: linux-kernel

On Wed, Jul 06, 2005 at 01:44:05PM +0200, Ben Castricum wrote:
> 
>   CC [M]  sound/pci/bt87x.o
> sound/pci/bt87x.c: In function `snd_bt87x_detect_card':
> sound/pci/bt87x.c:807: `driver' undeclared (first use in this function)
> sound/pci/bt87x.c:807: (Each undeclared identifier is reported only once
> sound/pci/bt87x.c:807: for each function it appears in.)
> sound/pci/bt87x.c: At top level:
> sound/pci/bt87x.c:910: `driver' used prior to declaration
> make[2]: *** [sound/pci/bt87x.o] Error 1
> make[1]: *** [sound/pci] Error 2
> make: *** [sound] Error 2
> 
> My .config can be found at http://www.bencastricum.nl/.config

Try this, already-posted patch.

thanks,

greg k-h


---
 sound/pci/bt87x.c |    2 ++
 1 files changed, 2 insertions(+)

--- gregkh-2.6.orig/sound/pci/bt87x.c	2005-07-06 08:48:29.000000000 -0700
+++ gregkh-2.6/sound/pci/bt87x.c	2005-07-06 08:48:54.000000000 -0700
@@ -798,6 +798,8 @@
 	{0x270f, 0xfc00}, /* Chaintech Digitop DST-1000 DVB-S */
 };
 
+static struct pci_driver driver;
+
 /* return the rate of the card, or a negative value if it's blacklisted */
 static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
 {

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Linux 2.6.13-rc2 Compile error in bt87x.c
  2005-07-06 11:44 Linux 2.6.13-rc2 Compile error in bt87x.c Ben Castricum
  2005-07-06 16:43 ` Greg KH
@ 2005-07-06 18:15 ` Alexander Fieroch
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Fieroch @ 2005-07-06 18:15 UTC (permalink / raw)
  To: linux-kernel

Ben Castricum wrote:
>   CC [M]  sound/pci/bt87x.o
> sound/pci/bt87x.c: In function `snd_bt87x_detect_card':
> sound/pci/bt87x.c:807: `driver' undeclared (first use in this function)
> sound/pci/bt87x.c:807: (Each undeclared identifier is reported only once
> sound/pci/bt87x.c:807: for each function it appears in.)
> sound/pci/bt87x.c: At top level:
> sound/pci/bt87x.c:910: `driver' used prior to declaration
> make[2]: *** [sound/pci/bt87x.o] Error 1
> make[1]: *** [sound/pci] Error 2

Hi,

there is a patch a few threads above (called "ALSA bt87x compile failure 
in 2.6.13-rc3").

Regards,
Alexander


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-07  0:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 11:44 Linux 2.6.13-rc2 Compile error in bt87x.c Ben Castricum
2005-07-06 16:43 ` Greg KH
2005-07-06 18:15 ` Alexander Fieroch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox