Add a pointer to the "client" structure to struct pcmcia_device. drivers/pcmcia/ds.c | 1 + include/pcmcia/ds.h | 2 ++ 2 files changed, 3 insertions(+) diff -ruN linux-original/drivers/pcmcia/ds.c linux/drivers/pcmcia/ds.c --- linux-original/drivers/pcmcia/ds.c 2004-11-13 14:14:38.502516064 +0100 +++ linux/drivers/pcmcia/ds.c 2004-11-13 14:15:03.188763184 +0100 @@ -701,6 +701,7 @@ p_dev->socket = s->parent; p_dev->func = bind_info->function; + p_dev->client = client; p_dev->dev.bus = &pcmcia_bus_type; p_dev->dev.parent = s->parent->dev.dev; diff -ruN linux-original/include/pcmcia/ds.h linux/include/pcmcia/ds.h --- linux-original/include/pcmcia/ds.h 2004-11-13 14:04:42.000000000 +0100 +++ linux/include/pcmcia/ds.h 2004-11-13 14:15:03.189763032 +0100 @@ -128,6 +128,7 @@ struct pcmcia_socket; +struct client_t; extern struct bus_type pcmcia_bus_type; @@ -153,6 +154,7 @@ /* deprecated, a cleaned up version will be moved into this struct soon */ dev_link_t *instance; + struct client_t *client; struct device dev; };