From: Peng Fan Date: Mon, 12 Jun 2017 09:50:52 +0000 (+0800) Subject: mmc: fsl_esdhc: correct type of wp_enable X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=15a91651bffa1892eec04dc10b02e24a123203ef;p=u-boot.git 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 --- diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h index e15d3aeaec..5550e00eab 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; };