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 0164bbb915ada490ec43f122ebc99bda900d5b83..8dabeeb8f71b50bcd308c0f2c81546610f73ab58 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;