diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-02-10 04:45:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:30 -0500 |
commit | 5ebb4078af0dab866fdf57f84f72b9e9a7e8c6b8 (patch) | |
tree | d6405c9338fbc24fea4fccb98f3b9291e70b40f6 | |
parent | 224299d444ce97e0c78a9e8ea930589ff8861404 (diff) |
[PATCH] Char: moxa, use PCI_DEVICE
Use PCI_DEVICE macro in pci_device_id list.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/char/moxa.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c index 381c79e9b35..a0eb088b75b 100644 --- a/drivers/char/moxa.c +++ b/drivers/char/moxa.c | |||
@@ -83,12 +83,12 @@ static char *moxa_brdname[] = | |||
83 | 83 | ||
84 | #ifdef CONFIG_PCI | 84 | #ifdef CONFIG_PCI |
85 | static struct pci_device_id moxa_pcibrds[] = { | 85 | static struct pci_device_id moxa_pcibrds[] = { |
86 | { PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C218, PCI_ANY_ID, PCI_ANY_ID, | 86 | { PCI_DEVICE(PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C218), |
87 | 0, 0, MOXA_BOARD_C218_PCI }, | 87 | .driver_data = MOXA_BOARD_C218_PCI }, |
88 | { PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C320, PCI_ANY_ID, PCI_ANY_ID, | 88 | { PCI_DEVICE(PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C320), |
89 | 0, 0, MOXA_BOARD_C320_PCI }, | 89 | .driver_data = MOXA_BOARD_C320_PCI }, |
90 | { PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_CP204J, PCI_ANY_ID, PCI_ANY_ID, | 90 | { PCI_DEVICE(PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_CP204J), |
91 | 0, 0, MOXA_BOARD_CP204J }, | 91 | .driver_data = MOXA_BOARD_CP204J }, |
92 | { 0 } | 92 | { 0 } |
93 | }; | 93 | }; |
94 | MODULE_DEVICE_TABLE(pci, moxa_pcibrds); | 94 | MODULE_DEVICE_TABLE(pci, moxa_pcibrds); |