Commit a94b5214 authored by Christoph Hellwig's avatar Christoph Hellwig

init: mark console_on_rootfs as __init

This helper is only used for the early init code.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 916db733
......@@ -1458,7 +1458,7 @@ static int __ref kernel_init(void *unused)
}
/* Open /dev/console, for stdin/stdout/stderr, this should never fail */
void console_on_rootfs(void)
void __init console_on_rootfs(void)
{
struct file *file = filp_open("/dev/console", O_RDWR, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment