summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/Kconfig
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-10-09 10:30:06 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-11 18:42:09 +0200
commit950db1a80e6349a25f9af594a45ab45eed5a0020 (patch)
tree49507a7bf7fbfd92adce1c3c5b6b6fe32ee86ae2 /drivers/media/rc/Kconfig
parentmedia: rc: check for integer overflow (diff)
downloadlinux-950db1a80e6349a25f9af594a45ab45eed5a0020.tar.xz
linux-950db1a80e6349a25f9af594a45ab45eed5a0020.zip
media: rc: ir-spi needs OF
Without device tree, there is no way to use this driver. Signed-off-by: Sean Young <sean@mess.org> Acked-by: Andi Shyti <andi.shyti@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/Kconfig')
-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 bde3c271fb88..afb3456d4e20 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -286,6 +286,7 @@ config IR_REDRAT3
config IR_SPI
tristate "SPI connected IR LED"
depends on SPI && LIRC
+ depends on OF || COMPILE_TEST
---help---
Say Y if you want to use an IR LED connected through SPI bus.