mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[PATCH] pcmcia: add pcmcia to IRQ information
Add a devname parameter to the pcmcia_device structure, fills it with "pcmcia<bus_id>" in pcmcia_device_add, and passes it to request_irq in pcmcia_request_irq. Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d3feb1844a
commit
bd65a68574
3 changed files with 13 additions and 3 deletions
|
|
@ -151,6 +151,8 @@ struct pcmcia_device {
|
|||
uniquely define a pcmcia_device */
|
||||
struct pcmcia_socket *socket;
|
||||
|
||||
char *devname;
|
||||
|
||||
u8 device_no;
|
||||
|
||||
/* the hardware "function" device; certain subdevices can
|
||||
|
|
|
|||
Loading…
Reference in a new issue