Skip to contentSkip to conversation

export toshiba SMM support for neofb module

PATCH New Randy Dunlap 1 participant 1 message Nov 21, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 export toshiba SMM support for neofb module

From: Randy Dunlap <[email protected]>

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

---
 drivers/char/toshiba.c |    1 +
 1 file changed, 1 insertion(+)
drivers/char/toshiba.c +1 -0
@@ -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,

---