diff options
author | Anton Vorontsov <avorontsov@mvista.com> | 2010-08-10 21:01:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 11:59:03 -0400 |
commit | 845e3f4f06f9b1d34f39601cb6b7abfb8f40653c (patch) | |
tree | a8c8340f2210c99fbc2d3cb3f50fcff40274a21f /drivers/mmc | |
parent | 515033f97c0b5a1bce13fa93e09704d95b44f376 (diff) |
sdhci-pltfm: reorganize Makefile entries to support SoC devices
Due to build system limitations, intermediate and final objects can't have
the same names. And as we're going to start building SoC-specific
objects, let's rename the module to sdhci-platform, into which we'll link
sdhci-pltfm and SoC-specifc objects.
There should be no issue in renaming as the driver uses modalias
mechanism.
This is exactly the same approach as in sdhci-of driver.
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Cc: Ben Dooks <ben@simtec.co.uk>
Cc: Richard R?jfors <richard.rojfors@pelagicore.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile index f4e53c98d944..c6955d7b0eca 100644 --- a/drivers/mmc/host/Makefile +++ b/drivers/mmc/host/Makefile | |||
@@ -12,7 +12,6 @@ obj-$(CONFIG_MMC_IMX) += imxmmc.o | |||
12 | obj-$(CONFIG_MMC_MXC) += mxcmmc.o | 12 | obj-$(CONFIG_MMC_MXC) += mxcmmc.o |
13 | obj-$(CONFIG_MMC_SDHCI) += sdhci.o | 13 | obj-$(CONFIG_MMC_SDHCI) += sdhci.o |
14 | obj-$(CONFIG_MMC_SDHCI_PCI) += sdhci-pci.o | 14 | obj-$(CONFIG_MMC_SDHCI_PCI) += sdhci-pci.o |
15 | obj-$(CONFIG_MMC_SDHCI_PLTFM) += sdhci-pltfm.o | ||
16 | obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o | 15 | obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o |
17 | obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o | 16 | obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o |
18 | obj-$(CONFIG_MMC_WBSD) += wbsd.o | 17 | obj-$(CONFIG_MMC_WBSD) += wbsd.o |
@@ -38,6 +37,9 @@ obj-$(CONFIG_SDH_BFIN) += bfin_sdh.o | |||
38 | obj-$(CONFIG_MMC_SH_MMCIF) += sh_mmcif.o | 37 | obj-$(CONFIG_MMC_SH_MMCIF) += sh_mmcif.o |
39 | obj-$(CONFIG_MMC_JZ4740) += jz4740_mmc.o | 38 | obj-$(CONFIG_MMC_JZ4740) += jz4740_mmc.o |
40 | 39 | ||
40 | obj-$(CONFIG_MMC_SDHCI_PLTFM) += sdhci-platform.o | ||
41 | sdhci-platform-y := sdhci-pltfm.o | ||
42 | |||
41 | obj-$(CONFIG_MMC_SDHCI_OF) += sdhci-of.o | 43 | obj-$(CONFIG_MMC_SDHCI_OF) += sdhci-of.o |
42 | sdhci-of-y := sdhci-of-core.o | 44 | sdhci-of-y := sdhci-of-core.o |
43 | sdhci-of-$(CONFIG_MMC_SDHCI_OF_ESDHC) += sdhci-of-esdhc.o | 45 | sdhci-of-$(CONFIG_MMC_SDHCI_OF_ESDHC) += sdhci-of-esdhc.o |