Commit 2ec62836 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] gcc-3.5 fixes

Trivial gcc-3.5 build fixes.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 65cae9f4
...@@ -50,12 +50,13 @@ ...@@ -50,12 +50,13 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/system.h> #include <asm/system.h>
static int verbose; /* = 0 */
#include "sonypi.h" #include "sonypi.h"
#include <linux/sonypi.h> #include <linux/sonypi.h>
static struct sonypi_device sonypi_device; static struct sonypi_device sonypi_device;
static int minor = -1; static int minor = -1;
static int verbose; /* = 0 */
static int fnkeyinit; /* = 0 */ static int fnkeyinit; /* = 0 */
static int camera; /* = 0 */ static int camera; /* = 0 */
static int compat; /* = 0 */ static int compat; /* = 0 */
......
...@@ -401,8 +401,6 @@ struct sonypi_device { ...@@ -401,8 +401,6 @@ struct sonypi_device {
#define SONYPI_ACPI_ACTIVE 0 #define SONYPI_ACPI_ACTIVE 0
#endif /* CONFIG_ACPI */ #endif /* CONFIG_ACPI */
extern int verbose;
static inline int sonypi_ec_write(u8 addr, u8 value) { static inline int sonypi_ec_write(u8 addr, u8 value) {
#ifdef CONFIG_ACPI_EC #ifdef CONFIG_ACPI_EC
if (SONYPI_ACPI_ACTIVE) if (SONYPI_ACPI_ACTIVE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment