pcmcia: allow for cb_irq to differ from pci_dev's irq in yenta_socket
authorJens Künzer <Jens.Kuenzer@fpga.homeip.net>
Sat, 6 Mar 2010 07:02:24 +0000 (08:02 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 15 Mar 2010 13:50:16 +0000 (14:50 +0100)
commitba8819e991ac507fcbfa080eacdff3e7eea4dc03
tree5818320dffb0b3a2dd7751557bb790606fe714be
parent28ca8dd71fc170090edca62cb8129625d01b7760
pcmcia: allow for cb_irq to differ from pci_dev's irq in yenta_socket

cb_irq is presumed to be the same as the pci_dev's irq. This won't be
true any more as soon as we allow the ISA irq to be used for Cardbus
devices. Therefore, use the pci_dev's irq explicitely whenever we
care about it.

Part 2 of a series to allow the ISA irq to be used for Cardbus devices
if the socket's PCI irq is unusable.

[linux@dominikbrodowski.net: split up the original patch, commit message]

Signed-off-by: Jens Kuenzer <Jens.Kuenzer@fpga.homeip.net>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/yenta_socket.c