Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752744AbaFPMSJ (ORCPT ); Mon, 16 Jun 2014 08:18:09 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57362 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751216AbaFPMSH (ORCPT ); Mon, 16 Jun 2014 08:18:07 -0400 Date: Mon, 16 Jun 2014 14:18:03 +0200 From: Jean Delvare To: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Chris Ball , Ulf Hansson , Eric Miao , Haojian Zhuang Subject: [PATCH v2] mmc: Add hardware dependencies for sdhci-pxav3 and sdhci-pxav2 Message-ID: <20140616141803.7d1e2b8a@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I seem to understand that the sdhci-pxav3 and sdhci-pxav2 drivers are only needed on the MMP architecture. So add a hardware dependency on ARCH_MMP, so that other users don't get to build useless drivers. Signed-off-by: Jean Delvare Cc: Chris Ball Cc: Ulf Hansson Cc: Eric Miao Cc: Haojian Zhuang --- Changes since v1: * Rebased on kernel 3.16-rc1 drivers/mmc/host/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- linux-3.16-rc1.orig/drivers/mmc/host/Kconfig 2014-06-16 14:03:26.195946537 +0200 +++ linux-3.16-rc1/drivers/mmc/host/Kconfig 2014-06-16 14:04:02.128663037 +0200 @@ -217,6 +217,7 @@ config MMC_SDHCI_PXAV3 tristate "Marvell MMP2 SD Host Controller support (PXAV3)" depends on CLKDEV_LOOKUP depends on MMC_SDHCI_PLTFM + depends on ARCH_MMP || COMPILE_TEST default CPU_MMP2 help This selects the Marvell(R) PXAV3 SD Host Controller. @@ -229,6 +230,7 @@ config MMC_SDHCI_PXAV2 tristate "Marvell PXA9XX SD Host Controller support (PXAV2)" depends on CLKDEV_LOOKUP depends on MMC_SDHCI_PLTFM + depends on ARCH_MMP || COMPILE_TEST default CPU_PXA910 help This selects the Marvell(R) PXAV2 SD Host Controller. -- Jean Delvare SUSE L3 Support -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/