From: Arnd Bergmann Date: Tue, 23 Apr 2013 16:30:49 +0000 (+0200) Subject: tty/serial/sirf: fix MODULE_DEVICE_TABLE X-Git-Tag: firefly_0821_release~3680^2~673^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=45efcb2d32d35f6509543e477568842d8467035d;p=firefly-linux-kernel-4.4.55.git tty/serial/sirf: fix MODULE_DEVICE_TABLE 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 Cc: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/sirfsoc_uart.c b/drivers/tty/serial/sirfsoc_uart.c index 6bbfe9934a4d..03465b673945 100644 --- a/drivers/tty/serial/sirfsoc_uart.c +++ b/drivers/tty/serial/sirfsoc_uart.c @@ -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,