]> err.no Git - linux-2.6/blobdiff - include/pcmcia/ds.h
Pull pnpacpi into acpica branch
[linux-2.6] / include / pcmcia / ds.h
index 2869283acd1d7455fc7af3dbf91fbfada4111991..8e2a96396478a0d6a1d522b78a52c2768581d0a1 100644 (file)
@@ -133,11 +133,7 @@ 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);
@@ -170,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 */