Fix the section mismatch on the serial driver (#2076), thanks Thomas !
authorFlorian Fainelli <florian@openwrt.org>
Fri, 13 Jul 2007 13:14:08 +0000 (13:14 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 13 Jul 2007 13:14:08 +0000 (13:14 +0000)
SVN-Revision: 7967

target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c

index 8a2adaa9c43d94818569783983127dde5ae197de..83c5f720127ef50275a452a0995b91f2537381ca 100644 (file)
@@ -433,7 +433,7 @@ static void adm5120console_write(struct console *con, const char *s,
        }
 }
 
-static int __init adm5120console_setup(struct console *con, char *options)
+static int adm5120console_setup(struct console *con, char *options)
 {
        /* Set to 115200 baud, 8N1 and enable FIFO */
        ADM5120_UART_REG(ADM5120_UART0_BASE, ADM5120_UART_LCR_L) =