mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[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 <[email protected]>
This commit is contained in:
parent
1de9cedfbd
commit
5f2a71fcb7
43 changed files with 155 additions and 403 deletions
|
|
@ -392,6 +392,8 @@ int pcmcia_eject_card(struct pcmcia_socket *skt);
|
|||
int pcmcia_insert_card(struct pcmcia_socket *skt);
|
||||
int pccard_reset_card(struct pcmcia_socket *skt);
|
||||
|
||||
void pcmcia_disable_device(struct pcmcia_device *p_dev);
|
||||
|
||||
struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt);
|
||||
void pcmcia_put_socket(struct pcmcia_socket *skt);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue