mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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_isa.c | ||
| sja1000_platform.c | ||
| sja1000.c | ||
| sja1000.h | ||
| tscan1.c | ||