9
0
Fork 0

console: sparse fixes

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2010-10-15 08:25:21 +02:00
parent 5a049d8b5d
commit f538b46572
1 changed files with 4 additions and 2 deletions

View File

@ -120,7 +120,7 @@ static int console_baudrate_set(struct device_d *dev, struct param_d *param,
static struct kfifo *console_input_buffer;
static struct kfifo *console_output_buffer;
int getc_buffer_flush(void)
static int getc_buffer_flush(void)
{
console_input_buffer = kfifo_alloc(1024);
console_output_buffer = kfifo_alloc(1024);
@ -247,7 +247,9 @@ int tstc(void)
}
EXPORT_SYMBOL(tstc);
void __early_initdata *early_console_base;
#ifdef CONFIG_HAS_EARLY_INIT
static void __early_initdata *early_console_base;
#endif
void console_putc(unsigned int ch, char c)
{