Fix adm5120hcd compilation error (#1738)

SVN-Revision: 7304
lede-17.01
Florian Fainelli 2007-05-22 10:19:29 +00:00
parent fd49112a0d
commit bedf56bac7
1 changed files with 1 additions and 1 deletions

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;