Commit 17120a28 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Fix compile for omap_udc

Fix compile for omap_udc
parent 442827b4
......@@ -2771,8 +2771,8 @@ static int __init omap_udc_probe(struct platform_device *pdev)
}
if (cpu_is_omap16xx()) {
dc_clk = clk_get(dev, "usb_dc_ck");
hhc_clk = clk_get(dev, "usb_hhc_ck");
dc_clk = clk_get(&pdev->dev, "usb_dc_ck");
hhc_clk = clk_get(&pdev->dev, "usb_hhc_ck");
BUG_ON(IS_ERR(dc_clk) || IS_ERR(hhc_clk));
/* can't use omap_udc_enable_clock yet */
clk_use(dc_clk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment