]> err.no Git - linux-2.6/commit
[POWERPC] CPM_UART: Removed __init from cpm_uart_init_portdesc to fix warning
authorKumar Gala <galak@kernel.crashing.org>
Thu, 10 May 2007 04:44:58 +0000 (23:44 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 10 May 2007 04:44:58 +0000 (23:44 -0500)
commit32a56ebb24f23da1bbaf24292acf85b6c04526ab
treea61a72d7c41498674718f1e5ece15e93ef57bdab
parentb99ab6a8c7f24d1dd2e435c1d04877bc034a8dd8
[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>
drivers/serial/cpm_uart/cpm_uart.h
drivers/serial/cpm_uart/cpm_uart_cpm1.c
drivers/serial/cpm_uart/cpm_uart_cpm2.c