From: Sean Young Date: Thu, 5 Oct 2017 21:30:58 +0000 (-0400) Subject: media: rc: pwm-ir-tx needs OF X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2d726aaab2831866846dadbc675f484305041ee9;p=openwrt%2Fstaging%2Fblogic.git media: rc: pwm-ir-tx needs OF Without device tree, there is no way to use this driver. Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 946d2ec419db..88c8ecd13044 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig @@ -416,6 +416,7 @@ config IR_PWM_TX depends on RC_CORE depends on LIRC depends on PWM + depends on OF || COMPILE_TEST ---help--- Say Y if you want to use a PWM based IR transmitter. This is more power efficient than the bit banging gpio driver.