From 153c77c86087e28cb4b4830a2475dea6f1468238 Mon Sep 17 00:00:00 2001 From: Jamie Honan Date: Tue, 28 Oct 2003 01:09:30 +0000 Subject: Copy the data variable as well on register client so that detach sees it. --- linux/drivers/media/dvb/dvb-core/dvb_i2c.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux/drivers') diff --git a/linux/drivers/media/dvb/dvb-core/dvb_i2c.c b/linux/drivers/media/dvb/dvb-core/dvb_i2c.c index 7be068ac6..fd4989f4f 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_i2c.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_i2c.c @@ -51,6 +51,7 @@ static int register_i2c_client (struct dvb_i2c_bus *i2c, struct dvb_i2c_device * client->detach = dev->detach; client->owner = dev->owner; + client->data = dev->data; INIT_LIST_HEAD(&client->list_head); -- cgit v1.2.3