aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/ds.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pcmcia/ds.h')
-rw-r--r--include/pcmcia/ds.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index c53a0604e441..8e2a96396478 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -133,10 +133,7 @@ typedef struct dev_link_t {
133struct pcmcia_socket; 133struct pcmcia_socket;
134 134
135struct pcmcia_driver { 135struct pcmcia_driver {
136 dev_link_t *(*attach)(void); 136 int (*probe) (struct pcmcia_device *dev);
137 int (*event) (event_t event, int priority,
138 event_callback_args_t *);
139
140 void (*remove) (struct pcmcia_device *dev); 137 void (*remove) (struct pcmcia_device *dev);
141 138
142 int (*suspend) (struct pcmcia_device *dev); 139 int (*suspend) (struct pcmcia_device *dev);
@@ -169,7 +166,6 @@ struct pcmcia_device {
169 /* deprecated, a cleaned up version will be moved into this 166 /* deprecated, a cleaned up version will be moved into this
170 struct soon */ 167 struct soon */
171 dev_link_t *instance; 168 dev_link_t *instance;
172 event_callback_args_t event_callback_args;
173 u_int state; 169 u_int state;
174 170
175 /* information about this device */ 171 /* information about this device */