diff options
author | Andy Walls <awalls@radix.net> | 2009-01-10 19:54:39 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:25 -0400 |
commit | 3d05913d894a460b7dc8e5d93415fde21b986411 (patch) | |
tree | 04a2216afdbbf27230dd364107d5d1dcb7f13057 /drivers/media/video/cx18/cx18-i2c.c | |
parent | e0f28b6a69b73ebf610f4f9759999bcdabdcda8e (diff) |
V4L/DVB (10280): cx18: Rename structure members: dev to pci_dev and v4l2dev to video_dev
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.
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-i2c.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-i2c.c b/drivers/media/video/cx18/cx18-i2c.c index 83e1c6333126..200d9257a926 100644 --- a/drivers/media/video/cx18/cx18-i2c.c +++ b/drivers/media/video/cx18/cx18-i2c.c | |||
@@ -366,7 +366,7 @@ int init_cx18_i2c(struct cx18 *cx) | |||
366 | sprintf(cx->i2c_client[i].name + | 366 | sprintf(cx->i2c_client[i].name + |
367 | strlen(cx->i2c_client[i].name), "%d", i); | 367 | strlen(cx->i2c_client[i].name), "%d", i); |
368 | cx->i2c_client[i].adapter = &cx->i2c_adap[i]; | 368 | cx->i2c_client[i].adapter = &cx->i2c_adap[i]; |
369 | cx->i2c_adap[i].dev.parent = &cx->dev->dev; | 369 | cx->i2c_adap[i].dev.parent = &cx->pci_dev->dev; |
370 | } | 370 | } |
371 | 371 | ||
372 | if (cx18_read_reg(cx, CX18_REG_I2C_2_WR) != 0x0003c02f) { | 372 | if (cx18_read_reg(cx, CX18_REG_I2C_2_WR) != 0x0003c02f) { |