aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-10-05 17:30:58 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-11 12:39:37 -0400
commit2d726aaab2831866846dadbc675f484305041ee9 (patch)
tree5ed706e5a7dd01fa78c87487d392e9de96c172e8 /drivers/media/rc
parentmedia: rc: gpio-ir-tx does not work without devicetree or gpiolib (diff)
downloadlinux-dev-2d726aaab2831866846dadbc675f484305041ee9.tar.xz
linux-dev-2d726aaab2831866846dadbc675f484305041ee9.zip
media: rc: pwm-ir-tx needs OF
Without device tree, there is no way to use this driver. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc')
-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 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.