From: Adrian Bunk Date: Mon, 12 Feb 2007 08:55:01 +0000 (-0800) Subject: [PATCH] proper prototype for tosh_smm() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f9506a53b446bc942c79584d3ce442d6334de697;p=linux-beck.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 deaf820cb38f..459ca553ffc0 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 916e5e3a699b..6a7c4edf0e13 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