MLK-14938-11 fsl_esdhc: Fix build warning when DM regulator is not enabled
authorYe Li <ye.li@nxp.com>
Fri, 19 May 2017 03:02:07 +0000 (22:02 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:49 +0000 (02:36 +0800)
commitad12cd1580b8f2824c4f823de8312ec161e5eef3
tree9598dc31b604811eb4caaa16b85153c9c4869016
parentec3bed8d0a73cea364981839c7a8ea716640c92f
MLK-14938-11 fsl_esdhc: Fix build warning when DM regulator is not enabled

If DM regulator driver is not enabled, we will get build warning for used variable:

drivers/mmc/fsl_esdhc.c: In function 'fsl_esdhc_probe':
drivers/mmc/fsl_esdhc.c:987:18: warning: unused variable 'vqmmc_dev' [-Wunused-variable]
  struct udevice *vqmmc_dev;
                  ^

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/mmc/fsl_esdhc.c