summaryrefslogtreecommitdiffstats
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
parent5288879390388af654da3bb9cdc2c409abf6b4f3 (diff)
downloadlinux-2d726aaab2831866846dadbc675f484305041ee9.tar.bz2
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.