]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/bt87x.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[linux-2.6-omap-h63xx.git] / sound / pci / bt87x.c
index 2236c958aec01b392ce72e28b1ae64405c24ce3a..01d98eeb242e94b695878abc677508ca008ba730 100644 (file)
@@ -761,15 +761,18 @@ static int __devinit snd_bt87x_create(snd_card_t *card,
 
 #define BT_DEVICE(chip, subvend, subdev, rate) \
        { .vendor = PCI_VENDOR_ID_BROOKTREE, \
-         .device = PCI_DEVICE_ID_BROOKTREE_##chip, \
+         .device = chip, \
          .subvendor = subvend, .subdevice = subdev, \
          .driver_data = rate }
 
 /* driver_data is the default digital_rate value for that device */
 static struct pci_device_id snd_bt87x_ids[] = {
-       BT_DEVICE(878, 0x0070, 0x13eb, 32000), /* Hauppauge WinTV series */
-       BT_DEVICE(879, 0x0070, 0x13eb, 32000), /* Hauppauge WinTV series */
-       BT_DEVICE(878, 0x0070, 0xff01, 44100), /* Viewcast Osprey 200 */
+       /* Hauppauge WinTV series */
+       BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0x13eb, 32000),
+       /* Hauppauge WinTV series */
+       BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_879, 0x0070, 0x13eb, 32000),
+       /* Viewcast Osprey 200 */
+       BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff01, 44100),
        { }
 };
 MODULE_DEVICE_TABLE(pci, snd_bt87x_ids);