summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/pch_uart.c
diff options
context:
space:
mode:
authorJingoo Han2013-12-03 00:26:37 +0100
committerGreg Kroah-Hartman2013-12-09 02:09:07 +0100
commit311df74ade503af204ac6b8ee55ce30ff2411398 (patch)
tree3b4a43aa6f39eec16f707458e2e33320284db0d0 /drivers/tty/serial/pch_uart.c
parentserial: imx: add support for loopback mode. (diff)
downloadkernel-qcow2-linux-311df74ade503af204ac6b8ee55ce30ff2411398.tar.gz
kernel-qcow2-linux-311df74ade503af204ac6b8ee55ce30ff2411398.tar.xz
kernel-qcow2-linux-311df74ade503af204ac6b8ee55ce30ff2411398.zip
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/pch_uart.c')
-rw-r--r--drivers/tty/serial/pch_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index 11c862c6bac8..9cbd3acaf37f 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -1906,7 +1906,7 @@ static int pch_uart_pci_resume(struct pci_dev *pdev)
#define pch_uart_pci_resume NULL
#endif
-static DEFINE_PCI_DEVICE_TABLE(pch_uart_pci_id) = {
+static const struct pci_device_id pch_uart_pci_id[] = {
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8811),
.driver_data = pch_et20t_uart0},
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8812),