From 17120a28587b3217cd760dd8429d6d363232d916 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Wed, 4 Jan 2006 11:33:12 -0800 Subject: [PATCH] ARM: OMAP: Fix compile for omap_udc Fix compile for omap_udc --- drivers/usb/gadget/omap_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index 7a6ba6ad7ac..c66d6fbd434 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c @@ -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); -- 2.41.1