mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
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:
parent
ed2d02d4ce
commit
15a91651bf
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user