OSDN Git Service
(root)
/
linux-kernel-docs
/
linux-2.4.36.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1334e8e
)
[GCC4] fix build error in drivers/char/sonypi.h
author
Willy Tarreau
<w@1wt.eu>
Sun, 13 Aug 2006 08:56:16 +0000
(10:56 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Sun, 13 Aug 2006 15:19:18 +0000
(17:19 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/char/sonypi.h
b/drivers/char/sonypi.h
index
83a6c5b
..
2546a39
100644
(file)
--- a/
drivers/char/sonypi.h
+++ b/
drivers/char/sonypi.h
@@
-401,8
+401,6
@@
struct sonypi_device {
#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)