mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
[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>
This commit is contained in:
parent
224299d444
commit
5ebb4078af
1 changed files with 6 additions and 6 deletions
|
@ -83,12 +83,12 @@ static char *moxa_brdname[] =
|
|||
|
||||
#ifdef CONFIG_PCI
|
||||
static struct pci_device_id moxa_pcibrds[] = {
|
||||
{ PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C218, PCI_ANY_ID, PCI_ANY_ID,
|
||||
0, 0, MOXA_BOARD_C218_PCI },
|
||||
{ PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C320, PCI_ANY_ID, PCI_ANY_ID,
|
||||
0, 0, MOXA_BOARD_C320_PCI },
|
||||
{ PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_CP204J, PCI_ANY_ID, PCI_ANY_ID,
|
||||
0, 0, MOXA_BOARD_CP204J },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C218),
|
||||
.driver_data = MOXA_BOARD_C218_PCI },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C320),
|
||||
.driver_data = MOXA_BOARD_C320_PCI },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_CP204J),
|
||||
.driver_data = MOXA_BOARD_CP204J },
|
||||
{ 0 }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pci, moxa_pcibrds);
|
||||
|
|
Loading…
Reference in a new issue