Skip to contentSkip to conversation

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

PATCH Applied Amerigo Wang 2 participants 2 messages Jan 19, 2011 – Jan 25, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---

drivers/video/console/vgacon.c +1 -5
index c97491b..915fd74 100644
@@ -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);
Applied
#1 lore raw
Quoted 5 lines · Amerigo Wang

Now vgacon_scrollback_startup() uses slab, not bootmem, the comment above it is obsolete, so does __init_refok.

Applied, thanks.