From: Greg KH <greg@kroah.com>
To: Ben Castricum <benc@bencastricum.nl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.6.13-rc2 Compile error in bt87x.c
Date: Wed, 6 Jul 2005 09:43:15 -0700 [thread overview]
Message-ID: <20050706164315.GA14165@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0507061342100.4612@gateway.bencastricum.nl>
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)
{
next prev parent reply other threads:[~2005-07-07 0:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-06 11:44 Linux 2.6.13-rc2 Compile error in bt87x.c Ben Castricum
2005-07-06 16:43 ` Greg KH [this message]
2005-07-06 18:15 ` Alexander Fieroch
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=20050706164315.GA14165@kroah.com \
--to=greg@kroah.com \
--cc=benc@bencastricum.nl \
--cc=linux-kernel@vger.kernel.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 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.