From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: [PATCH 53/79] keyboard: Do not include Date: Wed, 26 Oct 2011 14:12:58 +0200 Message-ID: <1319631204-23262-53-git-send-email-gregkh@suse.de> References: <20111026114236.GA22180@kroah.com> <1319631204-23262-1-git-send-email-gregkh@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from cantor2.suse.de ([195.135.220.15]:32808 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932918Ab1JZMNx (ORCPT ); Wed, 26 Oct 2011 08:13:53 -0400 In-Reply-To: <1319631204-23262-1-git-send-email-gregkh@suse.de> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: linux-serial@vger.kernel.org Cc: Geert Uytterhoeven , Greg Kroah-Hartman =46rom: Geert Uytterhoeven The top of has this comment: * Please do not include this file in generic code. There is currently * no requirement for any architecture to implement anything held * within this file. * * Thanks. --rmk Remove inclusion of , to prevent the following compile erro= r from happening soon: | include/linux/irq.h:132: error: redefinition of =E2=80=98struct irq_d= ata=E2=80=99 | include/linux/irq.h:286: error: redefinition of =E2=80=98struct irq_c= hip=E2=80=99 drivers/tty/vt/keyboard.c needs to include for get_irq= _regs(): | drivers/tty/vt/keyboard.c:497: error: implicit declaration of functio= n =E2=80=98get_irq_regs=E2=80=99 | drivers/tty/vt/keyboard.c:497: warning: initialization makes pointer = from integer without a cast Signed-off-by: Geert Uytterhoeven Acked-by: Thomas Gleixner Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- drivers/tty/vt/keyboard.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index 3761ccf..a605549 100644 --- a/drivers/tty/vt/keyboard.c +++ b/drivers/tty/vt/keyboard.c @@ -33,7 +33,6 @@ #include #include #include -#include =20 #include #include @@ -43,6 +42,8 @@ #include #include =20 +#include + extern void ctrl_alt_del(void); =20 /* --=20 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-serial"= in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html