aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/cpm_uart/cpm_uart_cpm2.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-05-09 23:44:58 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-05-09 23:44:58 -0500
commit32a56ebb24f23da1bbaf24292acf85b6c04526ab (patch)
treea61a72d7c41498674718f1e5ece15e93ef57bdab /drivers/serial/cpm_uart/cpm_uart_cpm2.c
parent[POWERPC] User rheap from arch/powerpc/lib (diff)
downloadlinux-dev-32a56ebb24f23da1bbaf24292acf85b6c04526ab.tar.xz
linux-dev-32a56ebb24f23da1bbaf24292acf85b6c04526ab.zip
[POWERPC] CPM_UART: Removed __init from cpm_uart_init_portdesc to fix warning
cpm_uart_init_portdesc is referenced from non-init code and thus we were getting the following warning: WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:cpm_uart_init_portdesc from .text between 'cpm_uart_init' (at offset 0x18020) and 'cpm_uart_drv_remove' Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to '')
-rw-r--r--drivers/serial/cpm_uart/cpm_uart_cpm2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_cpm2.c b/drivers/serial/cpm_uart/cpm_uart_cpm2.c
index 1eeea368071a..7b61d805ebe9 100644
--- a/drivers/serial/cpm_uart/cpm_uart_cpm2.c
+++ b/drivers/serial/cpm_uart/cpm_uart_cpm2.c
@@ -282,7 +282,7 @@ void cpm_uart_freebuf(struct uart_cpm_port *pinfo)
}
/* Setup any dynamic params in the uart desc */
-int __init cpm_uart_init_portdesc(void)
+int cpm_uart_init_portdesc(void)
{
#if defined(CONFIG_SERIAL_CPM_SMC1) || defined(CONFIG_SERIAL_CPM_SMC2)
u16 *addr;