From: Peng Fan Date: Mon, 12 Jun 2017 17:50:52 +0800 Subject: [U-Boot] [PATCH V4 1/4] mmc: fsl_esdhc: correct type of wp_enable Message-ID: <1497261055-11413-1-git-send-email-peng.fan@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- V4: new include/fsl_esdhc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.6.2