Browse Source

[PATCH] export toshiba SMM support for neofb module

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@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Randy Dunlap 18 years ago
parent
commit
0bf9322607
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/char/toshiba.c

+ 1 - 0
drivers/char/toshiba.c

@@ -249,6 +249,7 @@ int tosh_smm(SMMRegisters *regs)
 
 
 	return eax;
 	return eax;
 }
 }
+EXPORT_SYMBOL(tosh_smm);
 
 
 
 
 static int tosh_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,
 static int tosh_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,