Add a pointer to the "client" structure to struct pcmcia_device. Signed-off-by: Dominik Brodowski Index: 2.6.10-rc3/drivers/pcmcia/ds.c =================================================================== --- 2.6.10-rc3.orig/drivers/pcmcia/ds.c 2004-12-13 14:54:57.036938883 +0100 +++ 2.6.10-rc3/drivers/pcmcia/ds.c 2004-12-13 14:55:26.816797322 +0100 @@ -704,6 +704,7 @@ p_dev->socket = s->parent; p_dev->device_no = (s->device_count++); 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; Index: 2.6.10-rc3/include/pcmcia/ds.h =================================================================== --- 2.6.10-rc3.orig/include/pcmcia/ds.h 2004-12-13 14:48:38.709639584 +0100 +++ 2.6.10-rc3/include/pcmcia/ds.h 2004-12-13 14:55:26.817797183 +0100 @@ -128,6 +128,7 @@ struct pcmcia_socket; +struct client_t; extern struct bus_type pcmcia_bus_type; @@ -158,6 +159,7 @@ /* deprecated, a cleaned up version will be moved into this struct soon */ dev_link_t *instance; + struct client_t *client; struct device dev; };