2005-11-05 23:53:00

by Grant Coady

[permalink] [raw]
Subject: [PATCH] pci_ids cleanup: fix two additional IDs in bt87x

Hi Greg,

I missed a couple PCI IDs in bt87x.c, so here they are.

Cheers,
Grant.

From: Grant Coady <[email protected]>

pci_ids cleanup: fixup bt87x.c: two macro defined IDs missed in prior cleanup.

Caught by Chun-Chung Chen <[email protected]>: "In the patch for bt87x.c,
you seemed have missed the two occurrences of BT_DEVICE on line 897 and
line 898."

Signed-off-by: Grant Coady <[email protected]>

---
bt87x.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.14b/sound/pci/bt87x.c~ 2005-11-06 10:13:56.000000000 +1100
+++ linux-2.6.14b/sound/pci/bt87x.c 2005-11-06 10:17:08.000000000 +1100
@@ -897,8 +897,8 @@
/* default entries for all Bt87x cards - it's not exported */
/* driver_data is set to 0 to call detection */
static struct pci_device_id snd_bt87x_default_ids[] = {
- BT_DEVICE(878, PCI_ANY_ID, PCI_ANY_ID, 0),
- BT_DEVICE(879, PCI_ANY_ID, PCI_ANY_ID, 0),
+ BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, PCI_ANY_ID, PCI_ANY_ID, 0),
+ BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_879, PCI_ANY_ID, PCI_ANY_ID, 0),
{ }
};