Commit ec6c8c3b authored by Jon Mason's avatar Jon Mason Committed by Jaroslav Kysela

[ALSA] ali5451: Add PCI_DEVICE and #defines in snd_ali_ids

Modules: ALI5451 driver

This patch uses #defines for the Vendor ID and Device ID and uses the
new PCI_DEVICE macro.
Signed-off-by: default avatarJon Mason <jdmason@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e3183ec9
...@@ -279,7 +279,7 @@ struct snd_ali { ...@@ -279,7 +279,7 @@ struct snd_ali {
}; };
static struct pci_device_id snd_ali_ids[] = { 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, } {0, }
}; };
MODULE_DEVICE_TABLE(pci, snd_ali_ids); MODULE_DEVICE_TABLE(pci, snd_ali_ids);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment