Fix adm5120hcd compilation error (#1738)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 22 May 2007 10:19:29 +0000 (10:19 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 22 May 2007 10:19:29 +0000 (10:19 +0000)
SVN-Revision: 7304

target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c

index 0164bbb..8dabeeb 100644 (file)
@@ -717,7 +717,7 @@ static int __init adm5120hcd_probe(struct platform_device *pdev)
        data = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        addr = platform_get_resource(pdev, IORESOURCE_MEM, 1);
 
-       if (request_irq(data.start, adm5120hcd_irq, 0, hcd_name, hcd)) {
+       if (request_irq(data->start, adm5120hcd_irq, 0, hcd_name, hcd)) {
                printk(KERN_WARNING "Could not request IRQ\n");
                err = -EBUSY;
                goto out;