From eaaf2c4534c73a36ee5f5d3514a1b0bb0efecd8b Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 13 Aug 2006 10:56:16 +0200 Subject: [GCC4] fix build error in drivers/char/sonypi.h This patch fixes this error with gcc 4 : sonypi.c:56: error: static declaration of 'verbose' follows non-static declaration sonypi.h:404: error: previous declaration of 'verbose' was here --- drivers/char/sonypi.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/char/sonypi.h b/drivers/char/sonypi.h index 83a6c5b..2546a39 100644 --- a/drivers/char/sonypi.h +++ b/drivers/char/sonypi.h @@ -401,8 +401,6 @@ #else #define SONYPI_ACPI_ACTIVE 0 #endif /* CONFIG_ACPI */ -extern int verbose; - static inline int sonypi_ec_write(u8 addr, u8 value) { #ifdef CONFIG_ACPI_EC if (SONYPI_ACPI_ACTIVE) -- 1.4.2