Skip to contentSkip to conversation

media: rc: ir-spi needs OF

PATCH In review Sean Young 2 participants 2 messages Oct 9, 2017 – Oct 10, 2017

Subsystems (2)
lore
Share & tools
lore

Sean Young

author maintainer
#0 lore raw

PATCH 1/1 media: rc: ir-spi needs OF

Without device tree, there is no way to use this driver.

---
 drivers/media/rc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/media/rc/Kconfig +1 -0
index bde3c271fb88..afb3456d4e20 100644
@@ -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.
 
Signature · 1 line
2.13.6
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Sean Young

Without device tree, there is no way to use this driver.

Thanks, Sean!

Andi

Quoted 20 lines
---
 drivers/media/rc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/media/rc/Kconfig +1 -0
index bde3c271fb88..afb3456d4e20 100644
@@ -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.
 
Signature · 1 line
2.13.6