mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] pcmcia: unify detach, REMOVAL_EVENT handlers into one remove callback
Unify the "detach" and REMOVAL_EVENT handlers to one "remove" function. Old functionality is preserved, for the moment. Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
8e9e793d68
commit
cc3b4866be
47 changed files with 373 additions and 896 deletions
|
|
@ -138,6 +138,8 @@ struct pcmcia_driver {
|
|||
event_callback_args_t *);
|
||||
void (*detach)(dev_link_t *);
|
||||
|
||||
void (*remove) (struct pcmcia_device *dev);
|
||||
|
||||
int (*suspend) (struct pcmcia_device *dev);
|
||||
int (*resume) (struct pcmcia_device *dev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue