console: Replace uartConsoleInit with uart_console_init

Rename camelCase uartConsoleInit function for consistency with the
rest of the code in serial console.

Change-Id: I519737070538e9c0f52a8d110a3eff68e0185ce2
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2015-04-23 10:41:50 +03:00 committed by Anas Nashif
parent dfa5f2371b
commit f1e1897ade
6 changed files with 7 additions and 7 deletions

View file

@ -293,7 +293,7 @@ static void consoleInit(void)
uart_init(CONFIG_UART_CONSOLE_INDEX, &info);
uartConsoleInit();
uart_console_init();
}
#else

View file

@ -107,7 +107,7 @@ static void consoleInit(void)
uart_init(CONFIG_UART_CONSOLE_INDEX, &info);
uartConsoleInit();
uart_console_init();
}
#else

View file

@ -138,7 +138,7 @@ static void consoleInit(void)
info.irq = CONFIG_UART_CONSOLE_IRQ;
info.int_pri = CONFIG_UART_CONSOLE_INT_PRI;
uart_init(CONFIG_UART_CONSOLE_INDEX, &info);
uartConsoleInit();
uart_console_init();
}
#else

View file

@ -139,7 +139,7 @@ static void consoleInit(void)
info.regs = _SysPciMap(addr, size);
uart_init(CONFIG_UART_CONSOLE_INDEX, &info);
uartConsoleInit();
uart_console_init();
}
#else

View file

@ -194,12 +194,12 @@ void uart_register_handler(void (*cb) (const char *string))
/******************************************************************************
*
* uartConsoleInit - initialize one UART as the console/debug port
* uart_console_init - initialize one UART as the console/debug port
*
* RETURNS: N/A
*/
void uartConsoleInit(void)
void uart_console_init(void)
{
__stdout_hook_install(consoleOut);
__printk_hook_install(consoleOut);

View file

@ -39,7 +39,7 @@ extern "C" {
#include <cputype.h>
extern void uartConsoleInit(void);
extern void uart_console_init(void);
/*
* Register callback function which gets called when string typed in