Commit f9506a53 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] proper prototype for tosh_smm()

Add a proper prototype for tosh_smm() to include/linux/toshiba.h
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Cc: James Simmons <jsimmons@infradead.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cd792aa8
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
#include <linux/init.h> #include <linux/init.h>
#ifdef CONFIG_TOSHIBA #ifdef CONFIG_TOSHIBA
#include <linux/toshiba.h> #include <linux/toshiba.h>
extern int tosh_smm(SMMRegisters *regs);
#endif #endif
#include <asm/io.h> #include <asm/io.h>
......
...@@ -33,4 +33,6 @@ typedef struct { ...@@ -33,4 +33,6 @@ typedef struct {
unsigned int edi __attribute__ ((packed)); unsigned int edi __attribute__ ((packed));
} SMMRegisters; } SMMRegisters;
int tosh_smm(SMMRegisters *regs);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment