From: Timo Kokkonen Date: Thu, 30 Aug 2012 16:54:23 +0000 (-0300) Subject: [media] ir-rx51: Adjust dependencies X-Git-Tag: firefly_0821_release~3680^2~275^2~1255 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=36aee5ff9098a871bda38dbbdad40ad59f6535cf;p=firefly-linux-kernel-4.4.55.git [media] ir-rx51: Adjust dependencies Although this kind of IR diode circuitry is known to exist only in N900 hardware, nothing prevents making similar circuitry on any OMAP based board. The MACH_NOKIA_RX51 dependency is thus not something we want to be there. Also, this should depend on LIRC as it is a LIRC driver. Signed-off-by: Timo Kokkonen Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 6b0b9f0e6c6c..79ba242fe263 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig @@ -291,7 +291,7 @@ config IR_TTUSBIR config IR_RX51 tristate "Nokia N900 IR transmitter diode" - depends on MACH_NOKIA_RX51 && OMAP_DM_TIMER + depends on OMAP_DM_TIMER && LIRC ---help--- Say Y or M here if you want to enable support for the IR transmitter diode built in the Nokia N900 (RX51) device.