Subject: [PATCH -next] mantis: depends on IR_CORE

From: Randy Dunlap <[email-masked]>
Date: Tue, 17 Aug 2010 09:38:20 -0700

From: Randy Dunlap <[email-masked]>

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 <[email-masked]>
---
 drivers/media/dvb/mantis/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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