linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: rc: ir-spi needs OF
@ 2017-10-09  8:46 ` Sean Young
  2017-10-10  6:30   ` Andi Shyti
  0 siblings, 1 reply; 2+ messages in thread
From: Sean Young @ 2017-10-09  8:46 UTC (permalink / raw)
  To: linux-media, Andi Shyti

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

Signed-off-by: Sean Young <sean@mess.org>
---
 drivers/media/rc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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.
 
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] media: rc: ir-spi needs OF
  2017-10-09  8:46 ` [PATCH] media: rc: ir-spi needs OF Sean Young
@ 2017-10-10  6:30   ` Andi Shyti
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Shyti @ 2017-10-10  6:30 UTC (permalink / raw)
  To: Sean Young; +Cc: linux-media

On Mon, Oct 09, 2017 at 09:46:50AM +0100, Sean Young wrote:
> Without device tree, there is no way to use this driver.
> 
> Signed-off-by: Sean Young <sean@mess.org>

Thanks, Sean!

Acked-by: Andi Shyti <andi.shyti@samsung.com>

Andi

> ---
>  drivers/media/rc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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.
>  
> -- 
> 2.13.6
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-10  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20171009084659epcas1p42793d0df42faccd091109ae388a267f8@epcas1p4.samsung.com>
2017-10-09  8:46 ` [PATCH] media: rc: ir-spi needs OF Sean Young
2017-10-10  6:30   ` Andi Shyti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).