diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-12 00:55:01 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 09:48:42 -0800 |
commit | f9506a53b446bc942c79584d3ce442d6334de697 (patch) | |
tree | 43b9f4d82e31ec2af75fa79bb2201de1e48648f5 | |
parent | cd792aa896f281a224870eb5f2ee5b24682910a5 (diff) | |
download | op-kernel-dev-f9506a53b446bc942c79584d3ce442d6334de697.zip op-kernel-dev-f9506a53b446bc942c79584d3ce442d6334de697.tar.gz |
[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.c | 1 | ||||
-rw-r--r-- | include/linux/toshiba.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/neofb.c b/drivers/video/neofb.c index deaf820..459ca55 100644 --- a/drivers/video/neofb.c +++ b/drivers/video/neofb.c @@ -66,7 +66,6 @@ #include <linux/init.h> #ifdef CONFIG_TOSHIBA #include <linux/toshiba.h> -extern int tosh_smm(SMMRegisters *regs); #endif #include <asm/io.h> diff --git a/include/linux/toshiba.h b/include/linux/toshiba.h index 916e5e3..6a7c4ed 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 |