summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/arm_pl180_mmci.c
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2012-12-03 02:19:46 +0000
committerTom Rini <trini@ti.com>2013-03-08 16:41:13 -0500
commitd23d8d7e069c3aca071b7f68d9c15d11f8d4c84d (patch)
tree936923cdc7450422639747e99a83e5ce9843198a /drivers/mmc/arm_pl180_mmci.c
parent5c1214de8c7b8b3e807ec09508e653580872e599 (diff)
downloadtalos-obmc-uboot-d23d8d7e069c3aca071b7f68d9c15d11f8d4c84d.tar.gz
talos-obmc-uboot-d23d8d7e069c3aca071b7f68d9c15d11f8d4c84d.zip
mmc: add support for write protection
Add generic mmc write protection functionality. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'drivers/mmc/arm_pl180_mmci.c')
-rw-r--r--drivers/mmc/arm_pl180_mmci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/arm_pl180_mmci.c b/drivers/mmc/arm_pl180_mmci.c
index af1380a455..ab2e81e5d4 100644
--- a/drivers/mmc/arm_pl180_mmci.c
+++ b/drivers/mmc/arm_pl180_mmci.c
@@ -377,6 +377,7 @@ int arm_pl180_mmci_init(struct pl180_mmc_host *host)
dev->set_ios = host_set_ios;
dev->init = mmc_host_reset;
dev->getcd = NULL;
+ dev->getwp = NULL;
dev->host_caps = host->caps;
dev->voltages = host->voltages;
dev->f_min = host->clock_min;
OpenPOWER on IntegriCloud