summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 deaf820cb38..459ca553ffc 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 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