From: Adrian Bunk Date: Mon, 12 Feb 2007 08:55:01 +0000 (-0800) Subject: [PATCH] proper prototype for tosh_smm() X-Git-Tag: v2.6.21-rc1~274^2~36 X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=f9506a53b446bc942c79584d3ce442d6334de697;p=linux-2.6-omap-h63xx.git [PATCH] proper prototype for tosh_smm() Add a proper prototype for tosh_smm() to include/linux/toshiba.h Signed-off-by: Adrian Bunk Cc: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/neofb.c b/drivers/video/neofb.c index deaf820cb38..459ca553ffc 100644 --- a/drivers/video/neofb.c +++ b/drivers/video/neofb.c @@ -66,7 +66,6 @@ #include #ifdef CONFIG_TOSHIBA #include -extern int tosh_smm(SMMRegisters *regs); #endif #include diff --git a/include/linux/toshiba.h b/include/linux/toshiba.h index 916e5e3a699..6a7c4edf0e1 100644 --- a/include/linux/toshiba.h +++ b/include/linux/toshiba.h @@ -33,4 +33,6 @@ typedef struct { unsigned int edi __attribute__ ((packed)); } SMMRegisters; +int tosh_smm(SMMRegisters *regs); + #endif