From: Adrian Bunk Date: Mon, 12 Feb 2007 08:55:01 +0000 (-0800) Subject: [PATCH] proper prototype for tosh_smm() X-Git-Tag: v3.12-rc1~31520^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9506a53b446bc942c79584d3ce442d6334de697;p=kernel%2Fkernel-generic.git [PATCH] proper prototype for tosh_smm() Add a proper prototype for tosh_smm() to include/linux/toshiba.h Signed-off-by: Adrian Bunk Cc: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/neofb.c b/drivers/video/neofb.c index deaf820..459ca55 100644 --- a/drivers/video/neofb.c +++ b/drivers/video/neofb.c @@ -66,7 +66,6 @@ #include #ifdef CONFIG_TOSHIBA #include -extern int tosh_smm(SMMRegisters *regs); #endif #include diff --git a/include/linux/toshiba.h b/include/linux/toshiba.h index 916e5e3..6a7c4ed 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