This patch uses #defines for the Vendor ID and Device ID and uses the
new PCI_DEVICE macro.
No hardware to test, but compiles and should work.
Thanks,
Jon
Signed-off-by: Jon Mason <[email protected]>
diff -r 4a7597b41d25 sound/pci/ali5451/ali5451.c
--- a/sound/pci/ali5451/ali5451.c Wed Jan 11 19:14:08 2006
+++ b/sound/pci/ali5451/ali5451.c Thu Jan 12 16:43:05 2006
@@ -279,7 +279,7 @@
};
static struct pci_device_id snd_ali_ids[] = {
- {0x10b9, 0x5451, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
+ {PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M5451), 0, 0, 0},
{0, }
};
MODULE_DEVICE_TABLE(pci, snd_ali_ids);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]