From: Dominik Brodowski <linux@dominikbrodowski.de>

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>
---

 25-akpm/drivers/pcmcia/ds.c |    1 +
 25-akpm/include/pcmcia/ds.h |    2 ++
 2 files changed, 3 insertions(+)

diff -puN drivers/pcmcia/ds.c~pcmcia-add-a-pointer-to-client-in-struct-pcmcia_device drivers/pcmcia/ds.c
--- 25/drivers/pcmcia/ds.c~pcmcia-add-a-pointer-to-client-in-struct-pcmcia_device	2004-12-03 18:44:37.111141448 -0800
+++ 25-akpm/drivers/pcmcia/ds.c	2004-12-03 18:44:37.118140384 -0800
@@ -699,6 +699,7 @@ static int bind_request(struct pcmcia_bu
 
 	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 -puN include/pcmcia/ds.h~pcmcia-add-a-pointer-to-client-in-struct-pcmcia_device include/pcmcia/ds.h
--- 25/include/pcmcia/ds.h~pcmcia-add-a-pointer-to-client-in-struct-pcmcia_device	2004-12-03 18:44:37.113141144 -0800
+++ 25-akpm/include/pcmcia/ds.h	2004-12-03 18:44:37.118140384 -0800
@@ -128,6 +128,7 @@ typedef struct dev_link_t {
 
 
 struct pcmcia_socket;
+struct client_t;
 
 extern struct bus_type pcmcia_bus_type;
 
@@ -153,6 +154,7 @@ struct pcmcia_device {
 	/* deprecated, a cleaned up version will be moved into this
 	   struct soon */
 	dev_link_t		*instance;
+	struct client_t		*client;
 
 	struct device		dev;
 };
_