From patchwork Wed Jul 10 16:06:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: a-bindra@ti.com X-Patchwork-Id: 2825800 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CE8589F7D6 for ; Wed, 10 Jul 2013 16:07:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A93D8201B5 for ; Wed, 10 Jul 2013 16:07:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE69E201C7 for ; Wed, 10 Jul 2013 16:06:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754755Ab3GJQGy (ORCPT ); Wed, 10 Jul 2013 12:06:54 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:60761 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753735Ab3GJQGx (ORCPT ); Wed, 10 Jul 2013 12:06:53 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r6AG6nlk004046; Wed, 10 Jul 2013 11:06:49 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r6AG6npk028525; Wed, 10 Jul 2013 11:06:49 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.2.342.3; Wed, 10 Jul 2013 11:06:49 -0500 Received: from uda0132170 (uda0132170.india.ti.com [172.24.190.78]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r6AG6mTj001486; Wed, 10 Jul 2013 11:06:49 -0500 Received: from amar by uda0132170 with local (Exim 4.76) (envelope-from ) id 1Uwwum-0003PH-7r; Wed, 10 Jul 2013 21:36:48 +0530 From: To: , CC: , Balaji T K , Amarinder Bindra , Ezequiel Garcia , Felipe Balbi , Nishanth Menon Subject: [PATCH v2] mmc: omap_hsmmc: use the generic config for omap2plus devices Date: Wed, 10 Jul 2013 21:36:24 +0530 Message-ID: <1373472384-13067-1-git-send-email-a-bindra@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1372422894-23729-1-git-send-email-a-bindra@ti.com> References: <1372422894-23729-1-git-send-email-a-bindra@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Amarinder Bindra OMAP's hs_mmc driver is used for MMC controller operation on many omap2plus SoCs (OMAP2430, OMAP3, 4, 5 and AM335x). Considering that the device tree entries are already present for these, allow the driver to be built using the config ARCH_OMAP2PLUS rather than individually adding a config for each SoC to enable the support. Use COMPILE_TEST to enable the build for other platforms. Signed-off-by: Amarinder Bindra Cc: Ezequiel Garcia Cc: Felipe Balbi Cc: Nishanth Menon Acked-by: Nishanth Menon Acked-by: Ezequiel Garcia Acked-by: Felipe Balbi Acked-by: Balaji T K --- Changes in v2: - Use the config ARCH_OMAP2PLUS to enable the driver - Use COMPILE_TEST - Update the commit message v1: https://patchwork.kernel.org/patch/2824632/ drivers/mmc/host/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 009dabd..48f6fe7 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -254,11 +254,11 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" - depends on SOC_OMAP2430 || ARCH_OMAP3 || ARCH_OMAP4 + depends on ARCH_OMAP2PLUS || COMPILE_TEST help This selects the TI OMAP High Speed Multimedia card Interface. - If you have an OMAP2430 or OMAP3 board or OMAP4 board with a - Multimedia Card slot, say Y or M here. + If you have an omap2plus board with a Multimedia Card slot, + say Y or M here. If unsure, say N.