aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-07-06 18:35:18 -0400
committerTony Luck <tony.luck@intel.com>2005-07-06 18:35:18 -0400
commit67d340f440f389e9d56201fb7c7aaa92f262feb1 (patch)
treea96c26a370beb23282a561ddd936e5d0aa93adde /sound
parent2ba3e3e65cf182436757ba13ea8d564e2950fb56 (diff)
parent159f597a8bd0f1d7650d5e580c93a2666c9c26d1 (diff)
Auto merge with /home/aegl/GIT/linus
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/bt87x.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c
index defdc5a459..c5557eaf3e 100644
--- a/sound/pci/bt87x.c
+++ b/sound/pci/bt87x.c
@@ -798,13 +798,15 @@ static struct {
798 {0x270f, 0xfc00}, /* Chaintech Digitop DST-1000 DVB-S */ 798 {0x270f, 0xfc00}, /* Chaintech Digitop DST-1000 DVB-S */
799}; 799};
800 800
801static struct pci_driver driver;
802
801/* return the rate of the card, or a negative value if it's blacklisted */ 803/* return the rate of the card, or a negative value if it's blacklisted */
802static int __devinit snd_bt87x_detect_card(struct pci_dev *pci) 804static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
803{ 805{
804 int i; 806 int i;
805 const struct pci_device_id *supported; 807 const struct pci_device_id *supported;
806 808
807 supported = pci_match_device(snd_bt87x_ids, pci); 809 supported = pci_match_device(&driver, pci);
808 if (supported) 810 if (supported)
809 return supported->driver_data; 811 return supported->driver_data;
810 812