]> err.no Git - linux-2.6/blobdiff - include/pcmcia/ds.h
Merge branch 'upstream'
[linux-2.6] / include / pcmcia / ds.h
index 020055199008c532952637aa43b3feb2b224177a..8e2a96396478a0d6a1d522b78a52c2768581d0a1 100644 (file)
@@ -133,10 +133,8 @@ typedef struct dev_link_t {
 struct pcmcia_socket;
 
 struct pcmcia_driver {
-       dev_link_t              *(*attach)(void);
-       int (*event)            (event_t event, int priority,
-                                event_callback_args_t *);
-       void                    (*detach)(dev_link_t *);
+       int (*probe)            (struct pcmcia_device *dev);
+       void (*remove)          (struct pcmcia_device *dev);
 
        int (*suspend)          (struct pcmcia_device *dev);
        int (*resume)           (struct pcmcia_device *dev);
@@ -168,7 +166,6 @@ struct pcmcia_device {
        /* deprecated, a cleaned up version will be moved into this
           struct soon */
        dev_link_t              *instance;
-       event_callback_args_t   event_callback_args;
        u_int                   state;
 
        /* information about this device */