Fix adm5120hcd compilation error (#1738)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7304 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
48744dd266
commit
5cfa21f0b9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue