linux-stable/drivers/bluetooth
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
..
bcm203x.c Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
bfusb.c Bluetooth: Remove some pointless conditionals before kfree_skb() 2009-02-27 06:14:50 +01:00
bluecard_cs.c pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
bpa10x.c Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
bt3c_cs.c pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
btmrvl_debugfs.c Bluetooth: Remove pointless casts from Marvell debugfs support 2009-08-22 14:25:33 -07:00
btmrvl_drv.h Bluetooth: Remove private device name of Marvell SDIO driver 2009-08-22 14:25:34 -07:00
btmrvl_main.c Bluetooth: Remove Enter/Leave debug statements from Marvell driver 2009-08-22 14:25:34 -07:00
btmrvl_sdio.c Bluetooth: Add missing kmalloc NULL tests to Marvell driver 2009-08-22 14:33:22 -07:00
btmrvl_sdio.h Bluetooth: Fix incorrect alignment in Marvell BT-over-SDIO driver 2009-08-22 14:25:34 -07:00
btsdio.c Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
btuart_cs.c pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
btusb.c Bluetooth: Add USB autosuspend support to btusb driver 2009-08-24 16:31:24 -07:00
dtl1_cs.c pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
hci_bcsp.c Bluetooth: Fix false errors from bcsp_pkt_cull function 2009-08-24 13:32:32 -07:00
hci_h4.c Bluetooth: Remove some pointless conditionals before kfree_skb() 2009-02-27 06:14:50 +01:00
hci_ldisc.c tty: fix bluetooth scribbling on low latency flags 2009-06-11 08:51:05 -07:00
hci_ll.c Bluetooth: Remove some pointless conditionals before kfree_skb() 2009-02-27 06:14:50 +01:00
hci_uart.h [Bluetooth] Add UART driver for Texas Instruments' BRF63xx chips 2007-10-22 02:59:44 -07:00
hci_vhci.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
Kconfig Bluetooth: Fix Kconfig for Marvell Bluetooth driver 2009-08-22 14:25:33 -07:00
Makefile Bluetooth: Fix compilation of Marvell driver without debugfs 2009-08-22 14:25:33 -07:00