diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-15 03:32:39 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-31 10:15:50 -0500 |
commit | 5f2a71fcb7995633b335a1e380ac63a968e61320 (patch) | |
tree | d47f4227d314fc9f298b75c217fa78440004e6e7 /include/pcmcia/cs.h | |
parent | 1de9cedfbdff1d8adb662cd3afc5bda66e393351 (diff) |
[PATCH] pcmcia: add pcmcia_disable_device
pcmcia_disable_device(struct pcmcia_device *p_dev) performs the necessary
cleanups upon device or driver removal: it calls the appropriate
pcmcia_release_* functions, and can replace (most) of the current drivers'
_release() functions.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/cs.h')
-rw-r--r-- | include/pcmcia/cs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index eda32a595810..a5d8df24d56c 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h | |||
@@ -392,6 +392,8 @@ int pcmcia_eject_card(struct pcmcia_socket *skt); | |||
392 | 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); | 393 | int pccard_reset_card(struct pcmcia_socket *skt); |
394 | 394 | ||
395 | void pcmcia_disable_device(struct pcmcia_device *p_dev); | ||
396 | |||
395 | struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt); | 397 | struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt); |
396 | void pcmcia_put_socket(struct pcmcia_socket *skt); | 398 | void pcmcia_put_socket(struct pcmcia_socket *skt); |
397 | 399 | ||