Skip to contentSkip to conversation

media/video: ir-functions use input functions, should depend on INPUT

PATCH New Randy Dunlap 1 participant 1 message Oct 29, 2007 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media/video: ir-functions use input functions, should depend on INPUT

From: Randy Dunlap <[email protected]>

Media ir-functions uses input_(*) functions so it should depend on the INPUT config symbol.

drivers/built-in.o: In function `ir_input_key_event':
ir-functions.c:(.text+0x10849a): undefined reference to input_event' ir-functions.c:(.text+0x1084ac): undefined reference to input_event'

---
 drivers/media/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/media/Kconfig +1 -0
@@ -151,6 +151,7 @@ config VIDEO_IR_I2C
 
 config VIDEO_IR
 	tristate
+	depends on INPUT
 	select VIDEO_IR_I2C if I2C
 
 config VIDEO_TVEEPROM