Commit 15a91651bffa1892eec04dc10b02e24a123203ef

Authored by Peng Fan
Committed by Stefano Babic
1 parent ed2d02d4ce

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -177,7 +177,7 @@
177 177 phys_addr_t esdhc_base;
178 178 u32 sdhc_clk;
179 179 u8 max_bus_width;
180   - u8 wp_enable;
  180 + int wp_enable;
181 181 struct mmc_config cfg;
182 182 };
183 183