aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/Makefile
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-05-27 11:48:14 -0400
committerChris Ball <cjb@laptop.org>2011-07-20 17:20:47 -0400
commit38576af1f8cad48446df47dcf404b197c9206dba (patch)
tree2e35c4fe4588b95febfb4430bbf784b5634b216d /drivers/mmc/host/Makefile
parente307148fd4f971cecfaebb516ee28e164948a24b (diff)
mmc: sdhci: make sdhci-of device drivers self registered
The patch turns the sdhci-of-core common stuff into helper functions added into sdhci-pltfm.c, and makes sdhci-of device drviers self registered using the same pair of .probe and .remove used by sdhci-pltfm device drivers. As a result, sdhci-of-core.c and sdhci-of.h can be eliminated with those common things merged into sdhci-pltfm.c and sdhci-pltfm.h respectively. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Anton Vorontsov <cbouatmailru@gmail.com> Reviewed-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/Makefile')
-rw-r--r--drivers/mmc/host/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
index 732ec1e2a3d0..cbd89c310146 100644
--- a/drivers/mmc/host/Makefile
+++ b/drivers/mmc/host/Makefile
@@ -52,11 +52,10 @@ obj-$(CONFIG_MMC_SDHCI_DOVE) += sdhci-dove.o
52sdhci-dove-objs := sdhci-pltfm.o 52sdhci-dove-objs := sdhci-pltfm.o
53obj-$(CONFIG_MMC_SDHCI_TEGRA) += sdhci-tegra.o 53obj-$(CONFIG_MMC_SDHCI_TEGRA) += sdhci-tegra.o
54sdhci-tegra-objs := sdhci-pltfm.o 54sdhci-tegra-objs := sdhci-pltfm.o
55 55obj-$(CONFIG_MMC_SDHCI_OF_ESDHC) += sdhci-of-esdhc.o
56obj-$(CONFIG_MMC_SDHCI_OF) += sdhci-of.o 56sdhci-of-esdhc-objs := sdhci-pltfm.o
57sdhci-of-y := sdhci-of-core.o 57obj-$(CONFIG_MMC_SDHCI_OF_HLWD) += sdhci-of-hlwd.o
58sdhci-of-$(CONFIG_MMC_SDHCI_OF_ESDHC) += sdhci-of-esdhc.o 58sdhci-of-hlwd-objs := sdhci-pltfm.o
59sdhci-of-$(CONFIG_MMC_SDHCI_OF_HLWD) += sdhci-of-hlwd.o
60 59
61ifeq ($(CONFIG_CB710_DEBUG),y) 60ifeq ($(CONFIG_CB710_DEBUG),y)
62 CFLAGS-cb710-mmc += -DDEBUG 61 CFLAGS-cb710-mmc += -DDEBUG