diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-11-14 15:23:14 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-05 18:03:10 -0500 |
commit | cc3b4866bee996c922e875b8c8efe9f0d8803aae (patch) | |
tree | 6632837b6986f33566f75ed971cecbdc210e3201 /include | |
parent | 8e9e793d68fcda6cc84c18cedf85ca0f91d801a8 (diff) |
[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 <linux@dominikbrodowski.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/pcmcia/ds.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 020055199008..2869283acd1d 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -138,6 +138,8 @@ struct pcmcia_driver { | |||
138 | event_callback_args_t *); | 138 | event_callback_args_t *); |
139 | void (*detach)(dev_link_t *); | 139 | void (*detach)(dev_link_t *); |
140 | 140 | ||
141 | void (*remove) (struct pcmcia_device *dev); | ||
142 | |||
141 | int (*suspend) (struct pcmcia_device *dev); | 143 | int (*suspend) (struct pcmcia_device *dev); |
142 | int (*resume) (struct pcmcia_device *dev); | 144 | int (*resume) (struct pcmcia_device *dev); |
143 | 145 | ||