serial: pch_uart: Add MODULE_DEVICE_TABLE
authorBen Hutchings <ben@decadent.org.uk>
Sun, 1 Sep 2013 18:26:37 +0000 (19:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 21:26:10 +0000 (14:26 -0700)
pch_uart currently isn't auto-loaded if built as a module.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c

index 52379e56a31e7abc43a6642a799b1be7744be6c8..e0fbf87478b980f7c04e4d995f7a9d4818c03834 100644 (file)
@@ -2003,6 +2003,8 @@ module_exit(pch_uart_module_exit);
 
 MODULE_LICENSE("GPL v2");
 MODULE_DESCRIPTION("Intel EG20T PCH UART PCI Driver");
+MODULE_DEVICE_TABLE(pci, pch_uart_pci_id);
+
 module_param(default_baud, uint, S_IRUGO);
 MODULE_PARM_DESC(default_baud,
                  "Default BAUD for initial driver state and console (default 9600)");