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>
This commit is contained in:
Peng Fan 2017-06-12 17:50:52 +08:00 committed by Stefano Babic
parent ed2d02d4ce
commit 15a91651bf

View File

@ -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;
};