Commit 63b1dd07 authored by Amerigo Wang's avatar Amerigo Wang Committed by Paul Mundt

video: fix some comments in drivers/video/console/vgacon.c

Now vgacon_scrollback_startup() uses slab, not bootmem,
the comment above it is obsolete, so does __init_refok.
Signed-off-by: default avatarWANG Cong <amwang@redhat.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 5dc1365c
...@@ -202,11 +202,7 @@ static void vgacon_scrollback_init(int pitch) ...@@ -202,11 +202,7 @@ static void vgacon_scrollback_init(int pitch)
} }
} }
/* static void vgacon_scrollback_startup(void)
* Called only duing init so call of alloc_bootmen is ok.
* Marked __init_refok to silence modpost.
*/
static void __init_refok vgacon_scrollback_startup(void)
{ {
vgacon_scrollback = kcalloc(CONFIG_VGACON_SOFT_SCROLLBACK_SIZE, 1024, GFP_NOWAIT); vgacon_scrollback = kcalloc(CONFIG_VGACON_SOFT_SCROLLBACK_SIZE, 1024, GFP_NOWAIT);
vgacon_scrollback_init(vga_video_num_columns * 2); vgacon_scrollback_init(vga_video_num_columns * 2);
......
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