Re: Linux 2.6.13-rc2

From: Linus Torvalds
Date: Wed Jul 06 2005 - 22:27:04 EST




On Wed, 6 Jul 2005, Eyal Lebedinsky 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.)
> sound/pci/bt87x.c: At top level:
> sound/pci/bt87x.c:910: error: `driver' used prior to declaration

This seems to be a thinko by Greg. That line got changed from

supported = pci_match_device(snd_bt87x_ids, pci);

to

supported = pci_match_device(driver, pci);

but as far as I can tell it _should_ be

supported = pci_match_id(snd_bt87x_ids, pci);

does that fix it for you?

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/