mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 22:42:10 +00:00
[POWERPC] CPM_UART: Fix inconsistency of function definition
The below hunk was missed from the recent patch, and now, there are somewhat inconsistent definitions: in cpm_uart.h: int __init cpm_uart_init_portdesc(void); in cpm_uart_cpm1.c: int __init cpm_uart_init_portdesc(void) { } in cpm_uart_cpm2.c: int cpm_uart_init_portdesc(void) { } Signed-off-by: Kalle Pokki <kalle.pokki@iki.fi> Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
1d30593e4c
commit
533462df56
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ void cpm_uart_freebuf(struct uart_cpm_port *pinfo)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Setup any dynamic params in the uart desc */
|
/* Setup any dynamic params in the uart desc */
|
||||||
int cpm_uart_init_portdesc(void)
|
int __init cpm_uart_init_portdesc(void)
|
||||||
{
|
{
|
||||||
#if defined(CONFIG_SERIAL_CPM_SMC1) || defined(CONFIG_SERIAL_CPM_SMC2)
|
#if defined(CONFIG_SERIAL_CPM_SMC1) || defined(CONFIG_SERIAL_CPM_SMC2)
|
||||||
u32 addr;
|
u32 addr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue