]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
tty/serial/sirf: fix MODULE_DEVICE_TABLE
authorArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2013 16:30:49 +0000 (18:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Apr 2013 17:43:18 +0000 (10:43 -0700)
This fixes building the sirfsorc-uart driver as a loadable module,
which uses an incorrect MODULE_DEVICE_TABLE, by changing the reference to the
correct symbol.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sirfsoc_uart.c

index 6bbfe9934a4d7ba70b99e3ed6d7cc94e35de9cfd..03465b673945c0c76d65596bb2e50bec010f31e9 100644 (file)
@@ -758,7 +758,7 @@ static struct of_device_id sirfsoc_uart_ids[] = {
        { .compatible = "sirf,marco-uart", },
        {}
 };
-MODULE_DEVICE_TABLE(of, sirfsoc_serial_of_match);
+MODULE_DEVICE_TABLE(of, sirfsoc_uart_ids);
 
 static struct platform_driver sirfsoc_uart_driver = {
        .probe          = sirfsoc_uart_probe,