Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Adrian Bunk and committed by
Linus Torvalds
f9506a53 cd792aa8

+2 -1
-1
drivers/video/neofb.c
··· 66 66 #include <linux/init.h> 67 67 #ifdef CONFIG_TOSHIBA 68 68 #include <linux/toshiba.h> 69 - extern int tosh_smm(SMMRegisters *regs); 70 69 #endif 71 70 72 71 #include <asm/io.h>
+2
include/linux/toshiba.h
··· 33 33 unsigned int edi __attribute__ ((packed)); 34 34 } SMMRegisters; 35 35 36 + int tosh_smm(SMMRegisters *regs); 37 + 36 38 #endif