Fix adm5120hcd compilation error (#1738)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7304 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2007-05-22 10:19:29 +00:00
parent 48744dd266
commit 5cfa21f0b9
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;