diff options
author | Andy Walls <awalls@radix.net> | 2009-01-10 19:54:39 -0500 |
---|---|---|
committer | Andy Walls <awalls@radix.net> | 2009-01-10 19:54:39 -0500 |
commit | d50048287e23437dfd89b36c72a1740dea721004 (patch) | |
tree | c82bd12f61170631a236b06e6577f95796ceb0e3 /linux/drivers/media/video/cx18/cx18-i2c.c | |
parent | 4394cd88c2ef58fd78f2050408d64b01b022e808 (diff) | |
download | mediapointer-dvb-s2-d50048287e23437dfd89b36c72a1740dea721004.tar.gz mediapointer-dvb-s2-d50048287e23437dfd89b36c72a1740dea721004.tar.bz2 |
cx18: Rename structure members: dev to pci_dev and v4l2dev to video_dev
From: Andy Walls <awalls@radix.net>
Renamed structure member name to be more specific to type in anticipation
of updating to the v4l2_device/v4l2_subdev framework. Too many objects named
"dev" and /v4l2_\{0,1\}dev/ would be to confusing.
Priority: normal
Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-i2c.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-i2c.c b/linux/drivers/media/video/cx18/cx18-i2c.c index efae2301a..fe6fa60a7 100644 --- a/linux/drivers/media/video/cx18/cx18-i2c.c +++ b/linux/drivers/media/video/cx18/cx18-i2c.c @@ -393,7 +393,7 @@ int init_cx18_i2c(struct cx18 *cx) strlen(cx->i2c_client[i].name), "%d", i); cx->i2c_client[i].adapter = &cx->i2c_adap[i]; #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20) - cx->i2c_adap[i].dev.parent = &cx->dev->dev; + cx->i2c_adap[i].dev.parent = &cx->pci_dev->dev; #endif } |