]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
[media] ir-rx51: Adjust dependencies
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Thu, 30 Aug 2012 16:54:23 +0000 (13:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 15 Sep 2012 22:44:30 +0000 (19:44 -0300)
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 <timo.t.kokkonen@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/Kconfig

index 6b0b9f0e6c6c9c5a0712cfffde3185a18b7d544f..79ba242fe263a71e4c1590acad673f7c5f00d74f 100644 (file)
@@ -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.