Fix adm5120hcd compilation error (#1738)

SVN-Revision: 7304
This commit is contained in:
Florian Fainelli 2007-05-22 10:19:29 +00:00
parent fd49112a0d
commit bedf56bac7

View 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;