usb: ehci-mx6: Make regulator DM_REGULATOR dependent
authorAbel Vesa <abel.vesa@nxp.com>
Fri, 1 Feb 2019 16:40:08 +0000 (16:40 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 15 Feb 2019 21:01:15 +0000 (22:01 +0100)
commit921208ebca6f109990359b3089b5f416b269b07b
tree9988de017a28322fb9734fd210aeeb7da6a13ea1
parent79536013a3c5d451b7209ad66eb16b3b5b64bbaf
usb: ehci-mx6: Make regulator DM_REGULATOR dependent

Do the regulator related work only if the build has the DM_REGULATOR.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
drivers/usb/host/ehci-mx6.c