console: xtensa_sim_console: Cleanup and use static keyword
Cleanup xtensa_sim_console and use static keyword. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
caa95fc10d
commit
f57f7d162c
1 changed files with 4 additions and 8 deletions
|
@ -49,21 +49,17 @@ extern void __printk_hook_install(int (*fn)(int));
|
|||
} while ((0))
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @brief Install printk/stdout hook for Xtensa Simulator console output
|
||||
* @return N/A
|
||||
*/
|
||||
|
||||
void xt_sim_console_hook_install(void)
|
||||
static void xt_sim_console_hook_install(void)
|
||||
{
|
||||
__stdout_hook_install(console_out);
|
||||
__printk_hook_install(console_out);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @brief Initialize the console/debug port
|
||||
* @return 0 if successful, otherwise failed.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue