aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2010-03-20 08:10:47 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2010-05-10 04:23:19 -0400
commitb19a7275dec4b470ea9abaae6129d21a0d75ab2f (patch)
tree9a3824270dee0494a198f969ae5b8c53e4950165 /include/pcmcia
parent49b1153adfe18a3cce7e70aa26c690f275917cd0 (diff)
pcmcia: clarify alloc_io_space, move it to resource handlers
Clean up the alloc_io_space() function by moving most of it to the actual resource_ops. This allows for a bit less re-directions. Future cleanups will follow, and will make up for the code duplication currently present between rsrc_iodyn and rsrc_nonstatic (which are hardly ever built at the same time anyway, therefore no increase in built size). Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r--include/pcmcia/ds.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index b4429f78b9c3..c180165fbd3e 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -184,9 +184,16 @@ int pcmcia_access_configuration_register(struct pcmcia_device *p_dev,
184/* device configuration */ 184/* device configuration */
185int pcmcia_request_io(struct pcmcia_device *p_dev, io_req_t *req); 185int pcmcia_request_io(struct pcmcia_device *p_dev, io_req_t *req);
186 186
187int __must_check __deprecated 187int __must_check
188pcmcia_request_exclusive_irq(struct pcmcia_device *p_dev, 188__pcmcia_request_exclusive_irq(struct pcmcia_device *p_dev,
189 irq_handler_t handler); 189 irq_handler_t handler);
190static inline __must_check __deprecated int
191pcmcia_request_exclusive_irq(struct pcmcia_device *p_dev,
192 irq_handler_t handler)
193{
194 return __pcmcia_request_exclusive_irq(p_dev, handler);
195}
196
190int __must_check pcmcia_request_irq(struct pcmcia_device *p_dev, 197int __must_check pcmcia_request_irq(struct pcmcia_device *p_dev,
191 irq_handler_t handler); 198 irq_handler_t handler);
192 199