summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/Kconfig
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-10-05 23:30:57 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-11 18:38:20 +0200
commit5288879390388af654da3bb9cdc2c409abf6b4f3 (patch)
treef595a05dc857bc6fe99df0ce6aae7c1418e0947d /drivers/media/rc/Kconfig
parentmedia: rc: nec decoder should not send both repeat and keycode (diff)
downloadlinux-5288879390388af654da3bb9cdc2c409abf6b4f3.tar.xz
linux-5288879390388af654da3bb9cdc2c409abf6b4f3.zip
media: rc: gpio-ir-tx does not work without devicetree or gpiolib
If the kernel is built without device tree, this driver cannot be used and without gpiolib it cannot control any gpio pin. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/Kconfig')
-rw-r--r--drivers/media/rc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
index 451cba1fe9bf..946d2ec419db 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -403,6 +403,7 @@ config IR_GPIO_TX
tristate "GPIO IR Bit Banging Transmitter"
depends on RC_CORE
depends on LIRC
+ depends on (OF && GPIOLIB) || COMPILE_TEST
---help---
Say Y if you want to a GPIO based IR transmitter. This is a
bit banging driver.