summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/omap_mmc.h
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2012-12-03 02:19:47 +0000
committerTom Rini <trini@ti.com>2013-03-08 16:41:13 -0500
commite3913f56a26dbb49758370320dac477ab0324631 (patch)
treeb2a989a6483ef53c309b0e16f774b8d2007c9bfd /arch/arm/include/asm/omap_mmc.h
parentd23d8d7e069c3aca071b7f68d9c15d11f8d4c84d (diff)
downloadtalos-obmc-uboot-e3913f56a26dbb49758370320dac477ab0324631.tar.gz
talos-obmc-uboot-e3913f56a26dbb49758370320dac477ab0324631.zip
omap_hsmmc: add driver check for write protection
Add check for write protection in omap mmc driver. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/omap_mmc.h')
-rw-r--r--arch/arm/include/asm/omap_mmc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/omap_mmc.h b/arch/arm/include/asm/omap_mmc.h
index 8d86de1b11..617e22fa52 100644
--- a/arch/arm/include/asm/omap_mmc.h
+++ b/arch/arm/include/asm/omap_mmc.h
@@ -161,7 +161,8 @@ struct hsmmc {
#define mmc_reg_out(addr, mask, val)\
writel((readl(addr) & (~(mask))) | ((val) & (mask)), (addr))
-int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio);
+int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
+ int wp_gpio);
#endif /* OMAP_MMC_H_ */
OpenPOWER on IntegriCloud