[2.6 patch] proper prototype for tosh_smm()

From: Adrian Bunk
Date: Wed Jan 03 2007 - 18:09:51 EST


This atch adds a proper prototype for tosh_smm() to
include/linux/toshiba.h

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

drivers/video/neofb.c | 1 -
include/linux/toshiba.h | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)

--- linux-2.6.20-rc2-mm1/include/linux/toshiba.h.old 2007-01-03 23:03:10.000000000 +0100
+++ linux-2.6.20-rc2-mm1/include/linux/toshiba.h 2007-01-03 23:03:25.000000000 +0100
@@ -33,4 +33,6 @@
unsigned int edi __attribute__ ((packed));
} SMMRegisters;

+int tosh_smm(SMMRegisters *regs);
+
#endif
--- linux-2.6.20-rc2-mm1/drivers/video/neofb.c.old 2007-01-03 23:03:32.000000000 +0100
+++ linux-2.6.20-rc2-mm1/drivers/video/neofb.c 2007-01-03 23:03:39.000000000 +0100
@@ -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>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/