diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-04-08 14:33:16 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-05-10 04:23:11 -0400 |
commit | 6f0f38c45a8f2f511c25893e33011ff32fc811db (patch) | |
tree | d44382f7b5c7db15e39ce7d5dc2b2feb7bd108a8 /include | |
parent | 0cb3c49cdd275aa9ef4b1afd090117b1b86a16d4 (diff) |
pcmcia: setup IRQ to be used by PCMCIA drivers at card insert
Setup the IRQ to be used by PCMCIA drivers already during the device
registration stage, making use of a new function pcmcia_setup_irq().
This will allow us to get rid of quite a lot of indirection in the
future.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/pcmcia/ds.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index aab3c13dc310..52ebe75664e8 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -95,6 +95,9 @@ struct pcmcia_device { | |||
95 | config_req_t conf; | 95 | config_req_t conf; |
96 | window_handle_t win; | 96 | window_handle_t win; |
97 | 97 | ||
98 | /* device setup */ | ||
99 | unsigned int irq_v; /* do not use directly yet */ | ||
100 | |||
98 | /* Is the device suspended? */ | 101 | /* Is the device suspended? */ |
99 | u16 suspended:1; | 102 | u16 suspended:1; |
100 | 103 | ||