From: Sean Young Date: Thu, 5 Oct 2017 21:30:57 +0000 (-0400) Subject: media: rc: gpio-ir-tx does not work without devicetree or gpiolib X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5288879390388af654da3bb9cdc2c409abf6b4f3;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Mauro Carvalho Chehab --- 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.