diff options
Diffstat (limited to 'sys/dev/pccard/pccard.c')
-rw-r--r-- | sys/dev/pccard/pccard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c index c447312..f55614f 100644 --- a/sys/dev/pccard/pccard.c +++ b/sys/dev/pccard/pccard.c @@ -335,7 +335,7 @@ pccard_function_init(struct pccard_function *pf) } if (cfe->irqmask) { cfe->irqrid = 0; - cfe->irqres = bus_alloc_resource(bus, SYS_RES_IRQ, + r = cfe->irqres = bus_alloc_resource(bus, SYS_RES_IRQ, &cfe->irqrid, 10, 12, 1, 0); if (cfe->irqres == 0) goto not_this_one; |