[-next] mantis: depends on IR_CORE

Message ID 20100817093820.f3280d9a.randy.dunlap@oracle.com (mailing list archive)
State Superseded, archived
Headers

Commit Message

Randy Dunlap Aug. 17, 2010, 4:38 p.m. UTC
  From: Randy Dunlap <randy.dunlap@oracle.com>

mantis uses ir_input_register so it should depend on IR_CORE.

ERROR: "ir_input_unregister" [drivers/media/dvb/mantis/mantis_core.ko] undefined!
ERROR: "__ir_input_register" [drivers/media/dvb/mantis/mantis_core.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/media/dvb/mantis/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

--- linux-next-20100817.orig/drivers/media/dvb/mantis/Kconfig
+++ linux-next-20100817/drivers/media/dvb/mantis/Kconfig
@@ -1,6 +1,6 @@ 
 config MANTIS_CORE
 	tristate "Mantis/Hopper PCI bridge based devices"
-	depends on PCI && I2C && INPUT
+	depends on PCI && I2C && INPUT && IR_CORE
 
 	help
 	  Support for PCI cards based on the Mantis and Hopper PCi bridge.