]> err.no Git - linux-2.6/commitdiff
[PATCH] proper prototype for tosh_smm()
authorAdrian Bunk <bunk@stusta.de>
Mon, 12 Feb 2007 08:55:01 +0000 (00:55 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:42 +0000 (09:48 -0800)
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>
drivers/video/neofb.c
include/linux/toshiba.h

index deaf820cb38f798542271ef2ebf65277f5efc087..459ca553ffc0e0e49d46dd1c0efdd7b079b6e83b 100644 (file)
@@ -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>
index 916e5e3a699b695b963d2734fee707ffb7fc1af4..6a7c4edf0e138c38bc05cddd04603ee642cb9bf7 100644 (file)
@@ -33,4 +33,6 @@ typedef struct {
        unsigned int edi __attribute__ ((packed));
 } SMMRegisters;
 
+int tosh_smm(SMMRegisters *regs);
+
 #endif