From: Tony Lindgren Date: Wed, 4 Jan 2006 19:33:12 +0000 (-0800) Subject: ARM: OMAP: Fix compile for omap_udc X-Git-Tag: v2.6.15-omap2~22 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=17120a28587b3217cd760dd8429d6d363232d916;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix compile for omap_udc Fix compile for omap_udc --- 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);