]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/chips/twl4030-usb.c
i2c: switch twl4030-usb to use a resource for irq
[linux-2.6-omap-h63xx.git] / drivers / i2c / chips / twl4030-usb.c
index f530e710ced9e2f37477cd18b8f053a00f163453..133cc0ffde75f10e1b2b586143010a2cb3875321 100644 (file)
@@ -684,7 +684,7 @@ static int __init twl4030_usb_probe(struct platform_device *pdev)
        vbus &= USB_PRES_RISING;
 
        twl->dev                = &pdev->dev;
-       twl->irq                = TWL4030_PWRIRQ_USB_PRES;
+       twl->irq                = platform_get_irq(pdev, 0);
        twl->otg.set_host       = twl4030_set_host;
        twl->otg.set_peripheral = twl4030_set_peripheral;
        twl->otg.set_suspend    = twl4030_set_suspend;