Browse Source

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: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 16 years ago
parent
commit
1a24bda261
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/pata_rdc/pata_rdc.c

+ 2 - 2
drivers/staging/pata_rdc/pata_rdc.c

@@ -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);