linux-mips
[Top] [All Lists]

[PATCH 2.6] make drivers/char/vt.c compile without CONFIG_VT_CONSOLE

To: linux-mips@linux-mips.org
Subject: [PATCH 2.6] make drivers/char/vt.c compile without CONFIG_VT_CONSOLE
From: Julien BLACHE <jb@jblache.org>
Date: Mon, 22 Dec 2003 11:53:40 +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux)
Hi,

In drivers/char/vt.c, console_driver is defined inside an #ifdef
CONFIG_VT_CONSOLE, which makes it impossible to build a 2.6 kernel
without CONFIG_VT_CONSOLE.

I think this wasn't intended, so the attached patch moves the
declaration of console_driver above the #ifdef. There may be a more
appropriate place, so put it elsewhere if you feel like it :)

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb@jblache.org>                                  GPG KeyID 0xF5D65169

Attachment: vt.c.diff
Description: drivers/char/vt.c patch to build without CONFIG_VT_CONSOLE

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 2.6] make drivers/char/vt.c compile without CONFIG_VT_CONSOLE, Julien BLACHE <=