From f0cafbd954ebf427fb9968e158a980973a5dd325 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 15 Aug 2006 21:14:17 +0200 Subject: [GCC4] SPARC64: fix build error in drivers/sbus/char/pcikbd.c This patch fixes this error with gcc 4 (encountered on sparc64) : pcikbd.c:61: error: static declaration of 'pcikbd_iobase' follows non-static declaration pcikbd.h:34: error: previous declaration of 'pcikbd_iobase' was here pcikbd.c:62: error: static declaration of 'pcikbd_irq' follows non-static declaration pcikbd.h:35: error: previous declaration of 'pcikbd_irq' was here --- drivers/sbus/char/pcikbd.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/sbus/char/pcikbd.h b/drivers/sbus/char/pcikbd.h index a9e3809..2fb826a 100644 --- a/drivers/sbus/char/pcikbd.h +++ b/drivers/sbus/char/pcikbd.h @@ -31,9 +31,6 @@ #define KBD_TIMEOUT (HZ/4) /* Timeout f extern unsigned char pckbd_read_mask; extern unsigned char aux_device_present; -extern unsigned long pcikbd_iobase; -extern unsigned int pcikbd_irq; - /* * Keyboard Controller Registers * -- 1.4.2