[2.6 patch] proper prototype for tosh_smm()

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.hardware.toshiba
Message-ID <[email protected]>
This atch adds a proper prototype for tosh_smm() to 
include/linux/toshiba.h

Signed-off-by: Adrian Bunk <[email protected]>

---

 drivers/video/neofb.c   |    1 -
 include/linux/toshiba.h |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

--- linux-2.6.20-rc2-mm1/include/linux/toshiba.h.old	2007-01-03 23:03:10.000000000 +0100
+++ linux-2.6.20-rc2-mm1/include/linux/toshiba.h	2007-01-03 23:03:25.000000000 +0100
@@ -33,4 +33,6 @@
 	unsigned int edi __attribute__ ((packed));
 } SMMRegisters;
 
+int tosh_smm(SMMRegisters *regs);
+
 #endif
--- linux-2.6.20-rc2-mm1/drivers/video/neofb.c.old	2007-01-03 23:03:32.000000000 +0100
+++ linux-2.6.20-rc2-mm1/drivers/video/neofb.c	2007-01-03 23:03:39.000000000 +0100
@@ -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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.