From patchwork Wed Apr 6 14:29:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 689971 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 p36ETTcq016698 for ; Wed, 6 Apr 2011 14:29:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756226Ab1DFO3W (ORCPT ); Wed, 6 Apr 2011 10:29:22 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:35177 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756124Ab1DFO3U (ORCPT ); Wed, 6 Apr 2011 10:29:20 -0400 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 1Q7TjM-0002jB-Ok; Wed, 06 Apr 2011 16:29:12 +0200 Received: from ukl by octopus.hi.pengutronix.de with local (Exim 4.69) (envelope-from ) id 1Q7TjI-0004aq-3C; Wed, 06 Apr 2011 16:29:08 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Paul Mundt , Sascha Hauer Cc: kernel@pengutronix.de, linux-fbdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] video: imx-fb: just depend on IMX_HAVE_PLATFORM_IMX_FB Date: Wed, 6 Apr 2011 16:29:04 +0200 Message-Id: <1302100144-17176-1-git-send-email-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 1.7.2.3 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:6f8:1178:2:215:17ff:fe12:23b0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-fbdev@vger.kernel.org Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@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]); Wed, 06 Apr 2011 14:29:29 +0000 (UTC) All machines having a imx-fb device now select IMX_HAVE_PLATFORM_IMX_FB, so HAVE_FB_IMX can go away and there is no need anymore to explicitly depend on ARCH_MX1 or ARCH_MX2. Signed-off-by: Uwe Kleine-König Acked-by: Paul Mundt --- Hello, should this go via Sascha's or Paul's tree? Best regards Uwe arch/arm/plat-mxc/devices/Kconfig | 1 - drivers/video/Kconfig | 5 +---- 2 files changed, 1 insertions(+), 5 deletions(-) diff --git a/arch/arm/plat-mxc/devices/Kconfig b/arch/arm/plat-mxc/devices/Kconfig index b9ab1d5..e4dcf49 100644 --- a/arch/arm/plat-mxc/devices/Kconfig +++ b/arch/arm/plat-mxc/devices/Kconfig @@ -24,7 +24,6 @@ config IMX_HAVE_PLATFORM_IMXDI_RTC config IMX_HAVE_PLATFORM_IMX_FB bool - select HAVE_FB_IMX config IMX_HAVE_PLATFORM_IMX_I2C bool diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index e6a8d8c..62f337a 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -8,9 +8,6 @@ menu "Graphics support" config HAVE_FB_ATMEL bool -config HAVE_FB_IMX - bool - config SH_MIPI_DSI tristate depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK @@ -359,7 +356,7 @@ config FB_SA1100 config FB_IMX tristate "Freescale i.MX LCD support" - depends on FB && (HAVE_FB_IMX || ARCH_MX1 || ARCH_MX2) + depends on FB && IMX_HAVE_PLATFORM_IMX_FB select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT