From patchwork Mon Jun 20 06:44:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 896142 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5K6j5ef016892 for ; Mon, 20 Jun 2011 06:45:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752203Ab1FTGpF (ORCPT ); Mon, 20 Jun 2011 02:45:05 -0400 Received: from dakia2.marvell.com ([65.219.4.35]:40382 "EHLO dakia2.marvell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752315Ab1FTGpE (ORCPT ); Mon, 20 Jun 2011 02:45:04 -0400 X-ASG-Debug-ID: 1308552303-082d94e70001-IEKb4K Received: from maili.marvell.com (maili.marvell.com [10.68.76.51]) by dakia2.marvell.com with ESMTP id BDUuYT8Gmip9eFDc; Sun, 19 Jun 2011 23:45:03 -0700 (PDT) X-Barracuda-Envelope-From: zhangfei.gao@marvell.com Received: from localhost (unknown [10.38.164.151]) by maili.marvell.com (Postfix) with ESMTP id 1F5848A008; Sun, 19 Jun 2011 23:45:03 -0700 (PDT) From: Zhangfei Gao To: "linux-mmc@vger.kernel.org" , Chris Ball , Stephen Rothwell , Arnd Bergmann Cc: Zhangfei Gao X-ASG-Orig-Subj: [PATCH] mmc: add dependence in Kconfig for pxav2/pxav3 Subject: [PATCH] mmc: add dependence in Kconfig for pxav2/pxav3 Date: Mon, 20 Jun 2011 14:44:47 +0800 X-ASG-Orig-Subj: [PATCH] mmc: add dependence in Kconfig for pxav2/pxav3 Message-Id: <1308552287-18752-1-git-send-email-zhangfei.gao@marvell.com> X-Mailer: git-send-email 1.7.0.4 X-Barracuda-Connect: maili.marvell.com[10.68.76.51] X-Barracuda-Start-Time: 1308552303 X-Barracuda-URL: http://10.68.76.222:80/cgi-mod/mark.cgi X-Barracuda-Spam-Score: -1002.00 X-Barracuda-Spam-Status: No, SCORE=-1002.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1000.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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]); Mon, 20 Jun 2011 06:45:06 +0000 (UTC) Without depends, MMC_SDHCI_PXAV3/2 can be chosen in other platfrom. Build error will occur since plat/sdhci.h is located at arch/arm/plat-pxa/ Signed-off-by: Zhangfei Gao --- drivers/mmc/host/Kconfig | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 198ddda..d33a3e2 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -183,6 +183,7 @@ config MMC_SDHCI_S3C config MMC_SDHCI_PXAV3 tristate "Marvell MMP2 SD Host Controller support (PXAV3)" + depends on ARCH_MMP select MMC_SDHCI select MMC_SDHCI_PLTFM default CPU_MMP2 @@ -195,6 +196,7 @@ config MMC_SDHCI_PXAV3 config MMC_SDHCI_PXAV2 tristate "Marvell PXA9XX SD Host Controller support (PXAV2)" + depends on ARCH_MMP select MMC_SDHCI select MMC_SDHCI_PLTFM default CPU_PXA910