diff options
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/ds.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 2b52553f2d94..c574ff108148 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -133,6 +133,8 @@ struct pcmcia_socket; | |||
133 | 133 | ||
134 | struct pcmcia_driver { | 134 | struct pcmcia_driver { |
135 | dev_link_t *(*attach)(void); | 135 | dev_link_t *(*attach)(void); |
136 | int (*event) (event_t event, int priority, | ||
137 | event_callback_args_t *); | ||
136 | void (*detach)(dev_link_t *); | 138 | void (*detach)(dev_link_t *); |
137 | struct module *owner; | 139 | struct module *owner; |
138 | struct pcmcia_device_id *id_table; | 140 | struct pcmcia_device_id *id_table; |
@@ -159,15 +161,13 @@ struct pcmcia_device { | |||
159 | /* deprecated, a cleaned up version will be moved into this | 161 | /* deprecated, a cleaned up version will be moved into this |
160 | struct soon */ | 162 | struct soon */ |
161 | dev_link_t *instance; | 163 | dev_link_t *instance; |
164 | event_callback_args_t event_callback_args; | ||
165 | |||
162 | struct client_t { | 166 | struct client_t { |
163 | u_short client_magic; | 167 | u_short client_magic; |
164 | struct pcmcia_socket *Socket; | 168 | struct pcmcia_socket *Socket; |
165 | u_char Function; | 169 | u_char Function; |
166 | u_int state; | 170 | u_int state; |
167 | event_t EventMask; | ||
168 | int (*event_handler) (event_t event, int priority, | ||
169 | event_callback_args_t *); | ||
170 | event_callback_args_t event_callback_args; | ||
171 | } client; | 171 | } client; |
172 | 172 | ||
173 | /* information about this device */ | 173 | /* information about this device */ |