From 188357d5dd61a78d1dd63b40f028c5a9a07a7ad8 Mon Sep 17 00:00:00 2001
From: florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 13 Jul 2007 13:14:08 +0000
Subject: Fix the section mismatch on the serial driver (#2076), thanks Thomas
 !

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7967 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'target')

diff --git a/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c b/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c
index 8a2adaa9c..83c5f7201 100644
--- a/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c
+++ b/target/linux/adm5120-2.6/files/drivers/serial/adm5120_uart.c
@@ -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) =
-- 
cgit v1.2.3