diff options
Diffstat (limited to 'sound/pci/bt87x.c')
-rw-r--r-- | sound/pci/bt87x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index 91f9e6a112ff..2dba752faf4e 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c | |||
@@ -165,7 +165,7 @@ struct snd_bt87x_board { | |||
165 | unsigned no_digital:1; /* No digital input */ | 165 | unsigned no_digital:1; /* No digital input */ |
166 | }; | 166 | }; |
167 | 167 | ||
168 | static const __devinitdata struct snd_bt87x_board snd_bt87x_boards[] = { | 168 | static __devinitdata struct snd_bt87x_board snd_bt87x_boards[] = { |
169 | [SND_BT87X_BOARD_UNKNOWN] = { | 169 | [SND_BT87X_BOARD_UNKNOWN] = { |
170 | .dig_rate = 32000, /* just a guess */ | 170 | .dig_rate = 32000, /* just a guess */ |
171 | }, | 171 | }, |
@@ -848,7 +848,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci) | |||
848 | int i; | 848 | int i; |
849 | const struct pci_device_id *supported; | 849 | const struct pci_device_id *supported; |
850 | 850 | ||
851 | supported = pci_match_device(&driver, pci); | 851 | supported = pci_match_id(snd_bt87x_ids, pci); |
852 | if (supported && supported->driver_data > 0) | 852 | if (supported && supported->driver_data > 0) |
853 | return supported->driver_data; | 853 | return supported->driver_data; |
854 | 854 | ||