summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin van der Gracht <robin@protonic.nl>2017-03-03 10:05:39 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-03 11:54:18 +0100
commitda2ec36e7ca42e577e2ce59f89c0f5f5f81b7f81 (patch)
tree0ab56bb3fe961120f2336df91b4aec0115c35c25
parent7497685b05706ee521ff2b38096c878e19bfcd61 (diff)
downloadbarebox-da2ec36e7ca42e577e2ce59f89c0f5f5f81b7f81.tar.gz
clk: imx: clk-imx6ul: Fixed conditional for enabling USB phy clocks
Signed-off-by: Robin van der Gracht <robin@protonic.nl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/clk/imx/clk-imx6ul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-imx6ul.c b/drivers/clk/imx/clk-imx6ul.c
index 72b5fa2..0ca0652 100644
--- a/drivers/clk/imx/clk-imx6ul.c
+++ b/drivers/clk/imx/clk-imx6ul.c
@@ -392,7 +392,7 @@ static int imx6_ccm_probe(struct device_d *dev)
for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
clk_enable(clks[clks_init_on[i]]);
- if (IS_ENABLED(CONFIG_USB_MXS_PHY)) {
+ if (IS_ENABLED(CONFIG_USB_IMX_PHY)) {
clk_enable(clks[IMX6UL_CLK_USBPHY1_GATE]);
clk_enable(clks[IMX6UL_CLK_USBPHY2_GATE]);
}