From patchwork Wed Jan 19 06:24:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amerigo Wang X-Patchwork-Id: 488451 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0J6OQWd005794 for ; Wed, 19 Jan 2011 06:24:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752365Ab1ASGYZ (ORCPT ); Wed, 19 Jan 2011 01:24:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55202 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751913Ab1ASGYZ (ORCPT ); Wed, 19 Jan 2011 01:24:25 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0J6OFvq003350 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 19 Jan 2011 01:24:16 -0500 Received: from cr0.nay.redhat.com (unused-65-213.nay.redhat.com [10.66.65.213] (may be forged)) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p0J6OBJW027329; Wed, 19 Jan 2011 01:24:12 -0500 From: Amerigo Wang To: linux-kernel@vger.kernel.org Cc: lethal@linux-sh.org, WANG Cong , Arnd Bergmann (commit_signer:3/5=60%), Andrew Morton (commit_signer:2/5=40%), Greg Kroah-Hartman (commit_signer:2/5=40%), Yannick Heneault (commit_signer:1/5=20%), Matthew Garrett (commit_signer:1/5=20%), linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER) Subject: [Patch V2] video: fix some comments in drivers/video/console/vgacon.c Date: Wed, 19 Jan 2011 14:24:02 +0800 Message-Id: <1295418242-19859-1-git-send-email-amwang@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 19 Jan 2011 06:24:26 +0000 (UTC) diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index c97491b..915fd74 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c @@ -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);