diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 08:26:37 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-08 17:09:07 -0800 |
commit | 311df74ade503af204ac6b8ee55ce30ff2411398 (patch) | |
tree | 3b4a43aa6f39eec16f707458e2e33320284db0d0 /drivers/tty/serial/rp2.c | |
parent | 6b471a9840eefc96abb3fbd9eb71e1eb93399daa (diff) |
tty: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/rp2.c')
-rw-r--r-- | drivers/tty/serial/rp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/rp2.c b/drivers/tty/serial/rp2.c index 328d6deb6b0..056f91b3a4c 100644 --- a/drivers/tty/serial/rp2.c +++ b/drivers/tty/serial/rp2.c @@ -810,7 +810,7 @@ static void rp2_remove(struct pci_dev *pdev) rp2_remove_ports(card); } -static DEFINE_PCI_DEVICE_TABLE(rp2_pci_tbl) = { +static const struct pci_device_id rp2_pci_tbl[] = { /* RocketPort INFINITY cards */ |