mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
assignment used 0 instead of link from argument
This commit is contained in:
parent
3806b4d2da
commit
096bf9d5a9
@ -95,7 +95,7 @@ DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
|
||||
struct ddb_irq *ddb_irq_set(struct ddb *dev, u32 link, u32 nr,
|
||||
void (*handler)(void *), void *data)
|
||||
{
|
||||
struct ddb_irq *irq = &dev->link[0].irq[nr];
|
||||
struct ddb_irq *irq = &dev->link[link].irq[nr];
|
||||
|
||||
irq->handler = handler;
|
||||
irq->data = data;
|
||||
|
Loading…
Reference in New Issue
Block a user