summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorJamie Honan <devnull@localhost>2003-10-28 01:09:30 +0000
committerJamie Honan <devnull@localhost>2003-10-28 01:09:30 +0000
commit153c77c86087e28cb4b4830a2475dea6f1468238 (patch)
tree30f60356a30c680cfbc9eb02f8b2f9cb6efcdcd0 /linux/drivers
parentf8a18e1f2a17b4fb704c5a210fdd3a2096a84f36 (diff)
downloadmediapointer-dvb-s2-153c77c86087e28cb4b4830a2475dea6f1468238.tar.gz
mediapointer-dvb-s2-153c77c86087e28cb4b4830a2475dea6f1468238.tar.bz2
Copy the data variable as well on register client so that detach
sees it.
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_i2c.c1
1 files changed, 1 insertions, 0 deletions
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);