linux/drivers
Dominik Brodowski 5fa9167a1b pcmcia: rework the irq_req_t typedef
Most of the irq_req_t typedef'd struct can be re-worked quite
easily:

(1) IRQInfo2 was unused in any case, so drop it.

(2) IRQInfo1 was used write-only, so drop it.

(3) Instance (private data to be passed to the IRQ handler):
	Most PCMCIA drivers using pcmcia_request_irq() to actually
	register an IRQ handler set the "dev_id" to the same pointer
	as the "priv" pointer in struct pcmcia_device. Modify the two
	exceptions (ipwireless, ibmtr_cs) to also work this waym and
	set the IRQ handler's "dev_id" to p_dev->priv unconditionally.

(4) Handler is to be of type irq_handler_t.

(5) Handler != NULL already tells whether an IRQ handler is present.
	Therefore, we do not need the IRQ_HANDLER_PRESENT flag in
	irq_req_t.Attributes.

CC: netdev@vger.kernel.org
CC: linux-bluetooth@vger.kernel.org
CC: linux-ide@vger.kernel.org
CC: linux-wireless@vger.kernel.org
CC: linux-scsi@vger.kernel.org
CC: alsa-devel@alsa-project.org
CC: Jaroslav Kysela <perex@perex.cz>
CC: Jiri Kosina <jkosina@suse.cz>
CC: Karsten Keil <isdn@linux-pingi.de>
for the Bluetooth parts: Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2009-11-28 18:03:14 +01:00
..
accessibility
acpi Merge branch 'misc' into release 2009-10-15 00:47:13 -04:00
amba
ata pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
atm
auxdisplay
base
block cciss: Add cciss_allow_hpsa module parameter 2009-10-13 09:18:22 +02:00
bluetooth pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
cdrom
char pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac
eisa
firewire Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 2009-10-14 15:36:19 -07:00
firmware
gpio
gpu
hid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2009-10-13 10:10:33 -07:00
hwmon
i2c
ide pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
idle
ieee1394
ieee802154
infiniband
input
isdn pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
leds
lguest
macintosh powerpc/pmac: Fix issues with sleep on some powerbooks 2009-10-14 16:58:35 +11:00
mca
md
media
memstick
message
mfd mfd: Fix twl4030 boot with twl4030 usb transceiver enabled 2009-10-12 15:19:23 +02:00
misc
mmc [ARM] pxamci: fix printing gpio numbers in pxamci_probe 2009-10-12 15:30:50 +08:00
mtd pcmcia: pcmcia_request_window() doesn't need a pointer to a pointer 2009-11-28 18:02:58 +01:00
net pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
nubus
of
oprofile
parisc
parport pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
pci headers: Fix build after <linux/sched.h> removal 2009-10-13 10:20:16 -07:00
pcmcia pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
platform Merge branch 'misc' into release 2009-10-15 00:47:13 -04:00
pnp
power
pps
ps3
rapidio
regulator
rtc
s390 [S390] sclp_vt220 build fix 2009-10-14 12:43:54 +02:00
sbus
scsi pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
serial pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
sfi
sh
sn
spi
ssb pcmcia: convert ssb pcmcia driver to use new CIS helpers 2009-11-08 18:23:09 +01:00
staging pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
tc
telephony pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (misc drivers) 2009-11-09 08:30:05 +01:00
thermal
uio
usb pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
uwb
video
virtio
vlynq
w1
watchdog watchdog: Fix rio watchdog probe function 2009-10-14 01:18:26 -07:00
xen
zorro
Kconfig
Makefile