X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fpcmcia%2Fds.h;h=8e2a96396478a0d6a1d522b78a52c2768581d0a1;hb=cfe91f9ce297e23e6fbdf61c02bdd8ab9af7c8a8;hp=c53a0604e4414ab96f4237e66d841ac458dc5920;hpb=f3990715589d378a2d3aa9b8accd78bb4a2378b7;p=powerpc.git diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index c53a0604e4..8e2a963964 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h @@ -133,10 +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 *); - + int (*probe) (struct pcmcia_device *dev); void (*remove) (struct pcmcia_device *dev); int (*suspend) (struct pcmcia_device *dev); @@ -169,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 */