projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0a5962
)
Staging: pata_rdc: use PCI_DEVICE
author
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 3 Jun 2009 16:47:57 +0000
(09:47 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 19 Jun 2009 18:00:56 +0000
(11:00 -0700)
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>
drivers/staging/pata_rdc/pata_rdc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/pata_rdc/pata_rdc.c
b/drivers/staging/pata_rdc/pata_rdc.c
index ab0e1cce40caabd6ac8d54c61adbdd4b852f806d..c1a18e6b67d79320670295b65833e200acd3a27a 100644
(file)
--- a/
drivers/staging/pata_rdc/pata_rdc.c
+++ b/
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);