diff options
Diffstat (limited to 'drivers/tty/serial/pch_uart.c')
-rw-r--r-- | drivers/tty/serial/pch_uart.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c index 0aa2b528ef3d..9cbd3acaf37f 100644 --- a/drivers/tty/serial/pch_uart.c +++ b/drivers/tty/serial/pch_uart.c | |||
@@ -1853,7 +1853,6 @@ static void pch_uart_exit_port(struct eg20t_port *priv) | |||
1853 | debugfs_remove(priv->debugfs); | 1853 | debugfs_remove(priv->debugfs); |
1854 | #endif | 1854 | #endif |
1855 | uart_remove_one_port(&pch_uart_driver, &priv->port); | 1855 | uart_remove_one_port(&pch_uart_driver, &priv->port); |
1856 | pci_set_drvdata(priv->pdev, NULL); | ||
1857 | free_page((unsigned long)priv->rxbuf.buf); | 1856 | free_page((unsigned long)priv->rxbuf.buf); |
1858 | } | 1857 | } |
1859 | 1858 | ||
@@ -1907,7 +1906,7 @@ static int pch_uart_pci_resume(struct pci_dev *pdev) | |||
1907 | #define pch_uart_pci_resume NULL | 1906 | #define pch_uart_pci_resume NULL |
1908 | #endif | 1907 | #endif |
1909 | 1908 | ||
1910 | static DEFINE_PCI_DEVICE_TABLE(pch_uart_pci_id) = { | 1909 | static const struct pci_device_id pch_uart_pci_id[] = { |
1911 | {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8811), | 1910 | {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8811), |
1912 | .driver_data = pch_et20t_uart0}, | 1911 | .driver_data = pch_et20t_uart0}, |
1913 | {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8812), | 1912 | {PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8812), |