OSDN Git Service

media: rc: ir-spi needs OF
authorSean Young <sean@mess.org>
Mon, 9 Oct 2017 08:30:06 +0000 (04:30 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 11 Oct 2017 16:42:09 +0000 (12:42 -0400)
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>
drivers/media/rc/Kconfig

index bde3c27..afb3456 100644 (file)
@@ -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.