mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
mmc: fsl: Use brackets around if()
At present the IS_ENABLED() macro has extra brackets, making it possible to write: if IS_ENABLED(CONFIG_XXX) but it is a bit confusing. Add the missing brackets. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
parent
d67f9e35c4
commit
93cb515fe3
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ static int esdhc_send_cmd_common(struct fsl_esdhc_priv *priv, struct mmc *mmc,
|
|||
|
||||
/* Send the command */
|
||||
esdhc_write32(®s->cmdarg, cmd->cmdarg);
|
||||
if IS_ENABLED(CONFIG_FSL_USDHC) {
|
||||
if (IS_ENABLED(CONFIG_FSL_USDHC)) {
|
||||
u32 mixctrl = esdhc_read32(®s->mixctrl);
|
||||
|
||||
esdhc_write32(®s->mixctrl,
|
||||
|
|
Loading…
Reference in a new issue