1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 02:48:37 +02:00

Fix adm5120hcd compilation error (#1738)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7304 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-05-22 10:19:29 +00:00
parent a16c7f831c
commit 84fdb577b9

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;