* [PATCH] ali5451: Add PCI_DEVICE and #defines in snd_ali_ids
@ 2006-01-12 22:59 Jon Mason
0 siblings, 0 replies; only message in thread
From: Jon Mason @ 2006-01-12 22:59 UTC (permalink / raw)
To: linux-kernel; +Cc: Matt_Wu
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 <jdmason@us.ibm.com>
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-12 22:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-12 22:59 [PATCH] ali5451: Add PCI_DEVICE and #defines in snd_ali_ids Jon Mason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).