diff options
author | Simon Glass <sjg@chromium.org> | 2022-01-22 05:07:24 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-08 23:07:59 -0500 |
commit | 93cb515fe307453ccf8250cf56b3cc1a3dc06a6f (patch) | |
tree | 65d8d1376dfe73d0c48fc5f07ad4447761d31f42 | |
parent | d67f9e35c4573fd6389d41a7dfdfaf1e6a155005 (diff) | |
download | u-boot-93cb515fe307453ccf8250cf56b3cc1a3dc06a6f.zip u-boot-93cb515fe307453ccf8250cf56b3cc1a3dc06a6f.tar.gz u-boot-93cb515fe307453ccf8250cf56b3cc1a3dc06a6f.tar.bz2 |
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>
-rw-r--r-- | drivers/mmc/fsl_esdhc_imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 9299635..08ea98f 100644 --- a/drivers/mmc/fsl_esdhc_imx.c +++ b/drivers/mmc/fsl_esdhc_imx.c @@ -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, |