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>
This commit is contained in:
Sean Young 2017-10-09 04:30:06 -04:00 committed by Mauro Carvalho Chehab
parent 3e45067f94
commit 950db1a80e
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ config IR_REDRAT3
config IR_SPI config IR_SPI
tristate "SPI connected IR LED" tristate "SPI connected IR LED"
depends on SPI && LIRC depends on SPI && LIRC
depends on OF || COMPILE_TEST
---help--- ---help---
Say Y if you want to use an IR LED connected through SPI bus. Say Y if you want to use an IR LED connected through SPI bus.