aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-10-09 04:30:06 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-11 12:42:09 -0400
commit950db1a80e6349a25f9af594a45ab45eed5a0020 (patch)
tree49507a7bf7fbfd92adce1c3c5b6b6fe32ee86ae2 /drivers/media/rc
parent3e45067f94bbd61dec0619b1c32744eb0de480c8 (diff)
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')
-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.

Privacy Policy