path: root/drivers/media/rc
diff options
authorSean Young <sean@mess.org>2017-10-05 17:30:57 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-11 12:38:20 -0400
commit5288879390388af654da3bb9cdc2c409abf6b4f3 (patch)
treef595a05dc857bc6fe99df0ce6aae7c1418e0947d /drivers/media/rc
parent829bbf268894d0866bb9dd2b1e430cfa5c5f0779 (diff)
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')
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
Say Y if you want to a GPIO based IR transmitter. This is a
bit banging driver.

Privacy Policy