diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-07-11 01:58:04 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-07-11 01:58:04 -0400 |
commit | e0d21d9cca25f424f3129649be48a63c128ed42d (patch) | |
tree | 0a7d407639876e02deef1721817615eaa8c673a3 /sound/pci/bt87x.c | |
parent | beffbdc2211826b174c68307b1b48c93c05d7ded (diff) | |
parent | 5c23804a0941a111752fdacefe0bea2db1b4d93f (diff) |
Merge rsync://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'sound/pci/bt87x.c')
-rw-r--r-- | sound/pci/bt87x.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index defdc5a459f0..c5557eaf3e2e 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 | ||
801 | static 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 */ |
802 | static int __devinit snd_bt87x_detect_card(struct pci_dev *pci) | 804 | static 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 | ||