From patchwork Thu Mar 3 13:30:55 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sascha Hauer X-Patchwork-Id: 606051 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p23DVIRk027988 for ; Thu, 3 Mar 2011 13:31:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754245Ab1CCNbR (ORCPT ); Thu, 3 Mar 2011 08:31:17 -0500 Received: from metis.ext.pengutronix.de ([92.198.50.35]:33184 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751928Ab1CCNbQ (ORCPT ); Thu, 3 Mar 2011 08:31:16 -0500 Received: from octopus.hi.pengutronix.de ([2001:6f8:1178:2:215:17ff:fe12:23b0]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Pv8cd-000705-HV; Thu, 03 Mar 2011 14:31:15 +0100 Received: from sha by octopus.hi.pengutronix.de with local (Exim 4.69) (envelope-from ) id 1Pv8cd-0002Yv-AJ; Thu, 03 Mar 2011 14:31:15 +0100 From: Sascha Hauer To: linux-arm-kernel@lists.infradead.org Cc: Sascha Hauer , linux-media@vger.kernel.org, Mauro Carvalho Chehab , Hans Verkuil Subject: [PATCH 1/6] media/video i.MX: use IMX_HAVE_PLATFORM_* macros Date: Thu, 3 Mar 2011 14:30:55 +0100 Message-Id: <1299159060-9289-2-git-send-email-s.hauer@pengutronix.de> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1299159060-9289-1-git-send-email-s.hauer@pengutronix.de> References: <1299159060-9289-1-git-send-email-s.hauer@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:6f8:1178:2:215:17ff:fe12:23b0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 03 Mar 2011 13:31:19 +0000 (UTC) diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index aa02160..6f869ed 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig @@ -814,7 +814,7 @@ config MX1_VIDEO config VIDEO_MX1 tristate "i.MX1/i.MXL CMOS Sensor Interface driver" - depends on VIDEO_DEV && ARCH_MX1 && SOC_CAMERA + depends on VIDEO_DEV && SOC_CAMERA && IMX_HAVE_PLATFORM_MX1_CAMERA select FIQ select VIDEOBUF_DMA_CONTIG select MX1_VIDEO @@ -872,7 +872,7 @@ config VIDEO_MX2_HOSTSUPPORT config VIDEO_MX2 tristate "i.MX27/i.MX25 Camera Sensor Interface driver" - depends on VIDEO_DEV && SOC_CAMERA && (MACH_MX27 || ARCH_MX25) + depends on VIDEO_DEV && SOC_CAMERA && IMX_HAVE_PLATFORM_MX2_CAMERA select VIDEOBUF_DMA_CONTIG select VIDEO_MX2_HOSTSUPPORT ---help---