Skip to content

Commit

Permalink
video: fix some comments in drivers/video/console/vgacon.c
Browse files Browse the repository at this point in the history
Now vgacon_scrollback_startup() uses slab, not bootmem,
the comment above it is obsolete, so does __init_refok.

Signed-off-by: WANG Cong <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
Amerigo Wang authored and pmundt committed Jan 25, 2011
1 parent 5dc1365 commit 63b1dd0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/video/console/vgacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,7 @@ static void vgacon_scrollback_init(int pitch)
}
}

/*
* 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)
static void vgacon_scrollback_startup(void)
{
vgacon_scrollback = kcalloc(CONFIG_VGACON_SOFT_SCROLLBACK_SIZE, 1024, GFP_NOWAIT);
vgacon_scrollback_init(vga_video_num_columns * 2);
Expand Down

0 comments on commit 63b1dd0

Please sign in to comment.