diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-14 18:51:53 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-31 10:02:33 -0500 |
commit | 1540eec5e5549b2e41704ce77f3f4ba880d2434c (patch) | |
tree | 47a68638c377f61e1035294f4018570c8a1245e0 /include/pcmcia/cs.h | |
parent | e904663b4d511884145df54bead401840389853a (diff) |
[PATCH] pcmcia: remove pcmcia_compat.c
Remove the compatibility wrappers, as they can (now) also be implemented
using macros. Please continue using these wrappers instead of new functions
until a new API has stabilized.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/cs.h')
-rw-r--r-- | include/pcmcia/cs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index df9b7f706348..eda32a595810 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h | |||
@@ -386,15 +386,19 @@ int pcmcia_request_configuration(struct pcmcia_device *p_dev, config_req_t *req) | |||
386 | int pcmcia_request_io(struct pcmcia_device *p_dev, io_req_t *req); | 386 | int pcmcia_request_io(struct pcmcia_device *p_dev, io_req_t *req); |
387 | int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req); | 387 | int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req); |
388 | int pcmcia_request_window(struct pcmcia_device **p_dev, win_req_t *req, window_handle_t *wh); | 388 | int pcmcia_request_window(struct pcmcia_device **p_dev, win_req_t *req, window_handle_t *wh); |
389 | int pcmcia_reset_card(struct pcmcia_device *p_dev, client_req_t *req); | ||
390 | int pcmcia_suspend_card(struct pcmcia_socket *skt); | 389 | int pcmcia_suspend_card(struct pcmcia_socket *skt); |
391 | int pcmcia_resume_card(struct pcmcia_socket *skt); | 390 | int pcmcia_resume_card(struct pcmcia_socket *skt); |
392 | int pcmcia_eject_card(struct pcmcia_socket *skt); | 391 | int pcmcia_eject_card(struct pcmcia_socket *skt); |
393 | int pcmcia_insert_card(struct pcmcia_socket *skt); | 392 | int pcmcia_insert_card(struct pcmcia_socket *skt); |
393 | int pccard_reset_card(struct pcmcia_socket *skt); | ||
394 | 394 | ||
395 | struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt); | 395 | struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt); |
396 | void pcmcia_put_socket(struct pcmcia_socket *skt); | 396 | void pcmcia_put_socket(struct pcmcia_socket *skt); |
397 | 397 | ||
398 | /* compatibility functions */ | ||
399 | #define pcmcia_reset_card(p_dev, req) \ | ||
400 | pccard_reset_card(p_dev->socket) | ||
401 | |||
398 | #endif /* __KERNEL__ */ | 402 | #endif /* __KERNEL__ */ |
399 | 403 | ||
400 | #endif /* _LINUX_CS_H */ | 404 | #endif /* _LINUX_CS_H */ |