]> err.no Git - linux-2.6/blobdiff - include/pcmcia/ds.h
[PATCH] pcmcia: use mutexes instead of semaphores
[linux-2.6] / include / pcmcia / ds.h
index 8e2a96396478a0d6a1d522b78a52c2768581d0a1..8512cf9a12168815b955e0a7aad1702f312b58fc 100644 (file)
@@ -106,7 +106,6 @@ typedef struct dev_node_t {
 typedef struct dev_link_t {
     dev_node_t         *dev;
     u_int              state, open;
-    wait_queue_head_t  pending;
     client_handle_t    handle;
     io_req_t           io;
     irq_req_t          irq;
@@ -131,6 +130,7 @@ typedef struct dev_link_t {
 
 
 struct pcmcia_socket;
+struct config_t;
 
 struct pcmcia_driver {
        int (*probe)            (struct pcmcia_device *dev);
@@ -160,6 +160,7 @@ struct pcmcia_device {
        /* the hardware "function" device; certain subdevices can
         * share one hardware "function" device. */
        u8                      func;
+       struct config_t*        function_config;
 
        struct list_head        socket_device_list;