diff options
Diffstat (limited to 'drivers/tty/serial/mfd.c')
-rw-r--r-- | drivers/tty/serial/mfd.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/tty/serial/mfd.c b/drivers/tty/serial/mfd.c index c4b50af46c44..2c01344dc332 100644 --- a/drivers/tty/serial/mfd.c +++ b/drivers/tty/serial/mfd.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <linux/serial_mfd.h> | 36 | #include <linux/serial_mfd.h> |
37 | #include <linux/dma-mapping.h> | 37 | #include <linux/dma-mapping.h> |
38 | #include <linux/pci.h> | 38 | #include <linux/pci.h> |
39 | #include <linux/nmi.h> | ||
39 | #include <linux/io.h> | 40 | #include <linux/io.h> |
40 | #include <linux/debugfs.h> | 41 | #include <linux/debugfs.h> |
41 | #include <linux/pm_runtime.h> | 42 | #include <linux/pm_runtime.h> |
@@ -1113,6 +1114,8 @@ serial_hsu_console_write(struct console *co, const char *s, unsigned int count) | |||
1113 | unsigned int ier; | 1114 | unsigned int ier; |
1114 | int locked = 1; | 1115 | int locked = 1; |
1115 | 1116 | ||
1117 | touch_nmi_watchdog(); | ||
1118 | |||
1116 | local_irq_save(flags); | 1119 | local_irq_save(flags); |
1117 | if (up->port.sysrq) | 1120 | if (up->port.sysrq) |
1118 | locked = 0; | 1121 | locked = 0; |
@@ -1456,7 +1459,7 @@ static void serial_hsu_remove(struct pci_dev *pdev) | |||
1456 | } | 1459 | } |
1457 | 1460 | ||
1458 | /* First 3 are UART ports, and the 4th is the DMA */ | 1461 | /* First 3 are UART ports, and the 4th is the DMA */ |
1459 | static const struct pci_device_id pci_ids[] __devinitconst = { | 1462 | static const struct pci_device_id pci_ids[] = { |
1460 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x081B) }, | 1463 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x081B) }, |
1461 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x081C) }, | 1464 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x081C) }, |
1462 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x081D) }, | 1465 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x081D) }, |
@@ -1468,7 +1471,7 @@ static struct pci_driver hsu_pci_driver = { | |||
1468 | .name = "HSU serial", | 1471 | .name = "HSU serial", |
1469 | .id_table = pci_ids, | 1472 | .id_table = pci_ids, |
1470 | .probe = serial_hsu_probe, | 1473 | .probe = serial_hsu_probe, |
1471 | .remove = __devexit_p(serial_hsu_remove), | 1474 | .remove = serial_hsu_remove, |
1472 | .suspend = serial_hsu_suspend, | 1475 | .suspend = serial_hsu_suspend, |
1473 | .resume = serial_hsu_resume, | 1476 | .resume = serial_hsu_resume, |
1474 | .driver = { | 1477 | .driver = { |