mmc: fsl_esdhc: fix build issue
authorPeng Fan <peng.fan@nxp.com>
Fri, 18 Aug 2017 02:50:18 +0000 (10:50 +0800)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:13 +0000 (02:37 +0800)
commit128aaeb1a9a0bcd1eb7c0c875bf66c9cc317ec3b
tree4ea276a6ea095ea870b01b23ad6e2a64f769d44b
parent8a6553cd128741c69d991dce1d3f74985eba3725
mmc: fsl_esdhc: fix build issue

Fix the following build issue:
"
 In function ‘esdhc_set_ios’:
 warning: unused variable ‘ret’ [-Wunused-variable]
 int ret;
 ^~~
 At top level:
 warning: ‘usdhc_imx8qm_data’ defined but not used [-Wunused-variable]
 static struct esdhc_soc_data usdhc_imx8qm_data = {
                               ^~~~~~~~~~~~~~~~~
To qxp nand boot defconfig:
 error: ‘esdhc_set_vdd’ undeclared here (not in a function)
 .set_vdd = esdhc_set_vdd,
               ^~~~~~~~~~~~~
"

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/fsl_esdhc.c