aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-02-12 03:55:01 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 12:48:42 -0500
commitf9506a53b446bc942c79584d3ce442d6334de697 (patch)
tree43b9f4d82e31ec2af75fa79bb2201de1e48648f5
parentcd792aa896f281a224870eb5f2ee5b24682910a5 (diff)
[PATCH] proper prototype for tosh_smm()
Add a proper prototype for tosh_smm() to include/linux/toshiba.h Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: James Simmons <jsimmons@infradead.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/video/neofb.c1
-rw-r--r--include/linux/toshiba.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/neofb.c b/drivers/video/neofb.c
index deaf820cb38f..459ca553ffc0 100644
--- a/drivers/video/neofb.c
+++ b/drivers/video/neofb.c
@@ -66,7 +66,6 @@
66#include <linux/init.h> 66#include <linux/init.h>
67#ifdef CONFIG_TOSHIBA 67#ifdef CONFIG_TOSHIBA
68#include <linux/toshiba.h> 68#include <linux/toshiba.h>
69extern int tosh_smm(SMMRegisters *regs);
70#endif 69#endif
71 70
72#include <asm/io.h> 71#include <asm/io.h>
diff --git a/include/linux/toshiba.h b/include/linux/toshiba.h
index 916e5e3a699b..6a7c4edf0e13 100644
--- a/include/linux/toshiba.h
+++ b/include/linux/toshiba.h
@@ -33,4 +33,6 @@ typedef struct {
33 unsigned int edi __attribute__ ((packed)); 33 unsigned int edi __attribute__ ((packed));
34} SMMRegisters; 34} SMMRegisters;
35 35
36int tosh_smm(SMMRegisters *regs);
37
36#endif 38#endif