Add a pointer to the "client" structure to struct pcmcia_device.
Signed-off-by: Dominik Brodowski <linux@brodo.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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;
struct pcmcia_socket;
+struct client_t;
extern struct bus_type pcmcia_bus_type;
/* deprecated, a cleaned up version will be moved into this
struct soon */
dev_link_t *instance;
+ struct client_t *client;
struct device dev;
};