提交 1a24bda2 编写于 作者: G Greg Kroah-Hartman

Staging: pata_rdc: use PCI_DEVICE

Use the PCI_DEVICE macro, that's what it is there for...

Cc: Kevin Huang  <Kevin.Huang@rdc.com.tw>
Cc: Tomy Wang <Tomy.Wang@rdc.com.tw>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c0a5962f
......@@ -32,8 +32,8 @@
static const struct pci_device_id rdc_pata_id_table[] = {
{ 0x17F3, 0x1011, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_17F31011},
{ 0x17F3, 0x1012, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_17F31012},
{ PCI_DEVICE(0x17F3, 0x1011), RDC_17F31011},
{ PCI_DEVICE(0x17F3, 0x1012), RDC_17F31012},
{ } /* terminate list */
};
MODULE_DEVICE_TABLE(pci, rdc_pata_id_table);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册