kernel: don't use typedef for enums or non-opaque structs
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#define LOG_BUFFER_SIZE 0x40000
|
||||
#define LOG_MSG_SIZE 0x100
|
||||
|
||||
static console_t *early_console = NULL;
|
||||
static struct console *early_console = NULL;
|
||||
|
||||
static spin_lock_t log_buffer_lock = SPIN_LOCK_INIT;
|
||||
|
||||
@@ -46,7 +46,7 @@ static void save_log_message(const char *msg)
|
||||
}
|
||||
}
|
||||
|
||||
void early_printk_init(console_t *con)
|
||||
void early_printk_init(struct console *con)
|
||||
{
|
||||
early_console = con;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user