[PATCH] [media] ir: IR_RX51 only works on OMAP2

Arnd Bergmann arnd at arndb.de
Thu Mar 14 17:56:44 EDT 2013


This driver can be enabled on OMAP1 at the moment, which breaks
allyesconfig for that platform. Let's mark it OMAP2PLUS-only
in Kconfig, since that is the only thing it builds on.

Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Cc: Mauro Carvalho Chehab <mchehab at redhat.com>
Cc: Timo Kokkonen <timo.t.kokkonen at iki.fi>
Cc: Tony Lindgren <tony at atomide.com>
Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Cc: linux-media at vger.kernel.org
---
Mauro, please apply for 3.9

 drivers/media/rc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
index 19f3563..5a79c33 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -291,7 +291,7 @@ config IR_TTUSBIR
 
 config IR_RX51
 	tristate "Nokia N900 IR transmitter diode"
-	depends on OMAP_DM_TIMER && LIRC && !ARCH_MULTIPLATFORM
+	depends on OMAP_DM_TIMER && ARCH_OMAP2PLUS && LIRC && !ARCH_MULTIPLATFORM
 	---help---
 	   Say Y or M here if you want to enable support for the IR
 	   transmitter diode built in the Nokia N900 (RX51) device.
-- 
1.8.1.2




More information about the linux-arm-kernel mailing list