mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
fix MSI/non-MSI compilation
This commit is contained in:
parent
6d1cfd4cd2
commit
49d4bd0da8
@ -143,6 +143,7 @@ static int __devinit ddb_irq_msi(struct ddb *dev, int nr)
|
|||||||
pr_info("DDBridge: MSI not available.\n");
|
pr_info("DDBridge: MSI not available.\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return stat;
|
return stat;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -214,9 +215,7 @@ static int __devinit ddb_irq_init(struct ddb *dev)
|
|||||||
free_irq(dev->pdev->irq, dev);
|
free_irq(dev->pdev->irq, dev);
|
||||||
return stat;
|
return stat;
|
||||||
}
|
}
|
||||||
} else
|
} else {
|
||||||
#endif
|
|
||||||
{
|
|
||||||
#ifdef DDB_TEST_THREADED
|
#ifdef DDB_TEST_THREADED
|
||||||
stat = request_threaded_irq(dev->pdev->irq, irq_handler,
|
stat = request_threaded_irq(dev->pdev->irq, irq_handler,
|
||||||
irq_thread,
|
irq_thread,
|
||||||
|
Loading…
Reference in New Issue
Block a user