[PATCH] export toshiba SMM support for neofb module

From: Randy Dunlap
Date: Tue Nov 21 2006 - 14:26:10 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

When CONFIG_TOSHIBA=y and CONFIG_FB_NEOMAGIC=m, tosh_smm() needs
to be exported for neofb to use it.

WARNING: "tosh_smm" [drivers/video/neofb.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
drivers/char/toshiba.c | 1 +
1 file changed, 1 insertion(+)

--- linux-2619-rc6g4.orig/drivers/char/toshiba.c
+++ linux-2619-rc6g4/drivers/char/toshiba.c
@@ -249,6 +249,7 @@ int tosh_smm(SMMRegisters *regs)

return eax;
}
+EXPORT_SYMBOL(tosh_smm);


static int tosh_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,


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