aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-06-03 12:47:57 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 14:00:56 -0400
commit1a24bda26106fa522de8af78a2fea2c5e737137b (patch)
treefcffce7a098aa1f3845b69f9d610b52f3a819a17 /drivers
parentc0a5962f761b5c7c312d829c16c2856be6d494db (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/pata_rdc/pata_rdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/pata_rdc/pata_rdc.c b/drivers/staging/pata_rdc/pata_rdc.c
index ab0e1cce40ca..c1a18e6b67d7 100644
--- a/drivers/staging/pata_rdc/pata_rdc.c
+++ b/drivers/staging/pata_rdc/pata_rdc.c
@@ -32,8 +32,8 @@
32 32
33 33
34static const struct pci_device_id rdc_pata_id_table[] = { 34static const struct pci_device_id rdc_pata_id_table[] = {
35 { 0x17F3, 0x1011, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_17F31011}, 35 { PCI_DEVICE(0x17F3, 0x1011), RDC_17F31011},
36 { 0x17F3, 0x1012, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RDC_17F31012}, 36 { PCI_DEVICE(0x17F3, 0x1012), RDC_17F31012},
37 { } /* terminate list */ 37 { } /* terminate list */
38}; 38};
39MODULE_DEVICE_TABLE(pci, rdc_pata_id_table); 39MODULE_DEVICE_TABLE(pci, rdc_pata_id_table);