If the last channel is not available then "dev" is freed. Fortunately,
we can just use "pdev->irq" instead.
Also we should check if at least one channel was set up.
Fixes:
|
||
---|---|---|
.. | ||
ems_pci.c | ||
ems_pcmcia.c | ||
f81601.c | ||
Kconfig | ||
kvaser_pci.c | ||
Makefile | ||
peak_pci.c | ||
peak_pcmcia.c | ||
plx_pci.c | ||
sja1000.c | ||
sja1000.h | ||
sja1000_isa.c | ||
sja1000_platform.c | ||
tscan1.c |