]> git.baikalelectronics.ru Git - kernel.git/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)
commit2c5fe0e763094048d96cf52e2b9802152d342238
treea61a72d7c41498674718f1e5ece15e93ef57bdab
parent26af640e696a6532246430a2e399680953ad4fdb
[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