[PATCH] mmc: sdhci-of does not build on x86

From: Michal Marek
Date: Fri Jan 14 2011 - 07:30:15 EST


After commit c10d1e2, CONFIG_OLPC selects CONFIG_OF, which enables to
select CONFIG_MMC_SDHCI_OF, which does not build on x86:

drivers/mmc/host/sdhci-of-core.c:24:25: fatal error: asm/machdep.h: No
such file or directory

Signed-off-by: Michal Marek <mmarek@xxxxxxx>
---

I don't know if the driver could possibly work on some OLPC hardware,
but it wasn't used on x86 before, so this patch won't make things any worse.

Michal
---
drivers/mmc/host/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index afe8c6f..9901656 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -83,7 +83,7 @@ config MMC_RICOH_MMC

config MMC_SDHCI_OF
tristate "SDHCI support on OpenFirmware platforms"
- depends on MMC_SDHCI && OF
+ depends on MMC_SDHCI && OF && !X86
help
This selects the OF support for Secure Digital Host Controller
Interfaces.
--
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/