mmc: fsl_esdhc: Fix DM_REGULATOR ifdefs for SPL builds
authorAbel Vesa <[email protected]>
Fri, 1 Feb 2019 16:40:11 +0000 (16:40 +0000)
committerStefano Babic <[email protected]>
Fri, 15 Feb 2019 21:01:15 +0000 (22:01 +0100)
commitd76706c89adea229d2207b0280d1f3fb559671e4
treeb62d522674fd8e8fbf6733e997c7ea5830624c96
parent3ad186fbe9aeb1ee34787d3f122014358e702b6d
mmc: fsl_esdhc: Fix DM_REGULATOR ifdefs for SPL builds

Since the fsl_esdhc will also be used by SPL, make the
preprocessor switches more generic to allow any kind of build.

Signed-off-by: Abel Vesa <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Reviewed-by: Lukasz Majewski <[email protected]>
drivers/mmc/fsl_esdhc.c