summaryrefslogtreecommitdiff
path: root/include/fsl_esdhc.h
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-06-12 09:50:52 (GMT)
committerStefano Babic <sbabic@denx.de>2017-07-12 07:44:22 (GMT)
commit15a91651bffa1892eec04dc10b02e24a123203ef (patch)
tree92f81c16d62e338b10db3663feeeafaa4c5e79e2 /include/fsl_esdhc.h
parented2d02d4ceb8d76057200c0970df6966c63959d9 (diff)
downloadu-boot-fsl-qoriq-15a91651bffa1892eec04dc10b02e24a123203ef.tar.xz
mmc: fsl_esdhc: correct type of wp_enable
The type should be int, not u8. cfg->wp_enable will finally be assigned to priv->wp_enable whose type is int. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/fsl_esdhc.h')
-rw-r--r--include/fsl_esdhc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h
index e15d3ae..5550e00 100644
--- a/include/fsl_esdhc.h
+++ b/include/fsl_esdhc.h
@@ -177,7 +177,7 @@ struct fsl_esdhc_cfg {
phys_addr_t esdhc_base;
u32 sdhc_clk;
u8 max_bus_width;
- u8 wp_enable;
+ int wp_enable;
struct mmc_config cfg;
};