diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-20 09:35:02 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-23 19:42:52 (GMT) |
commit | 22a04f106346c3af019135f2de3cabf9ac41c3ba (patch) | |
tree | 520b5260c3883f153cb55192f7df92899fbd062e /drivers/media/video/et61x251/et61x251_core.c | |
parent | 5e85e732f0ed56aa97a3ba26ac2b93ffe597a208 (diff) | |
download | linux-22a04f106346c3af019135f2de3cabf9ac41c3ba.tar.xz |
V4L/DVB (8429): videodev: renamed 'class_dev' to 'dev'
The class_dev field is a normal device, not a class device. This is very
confusing and now that the old 'dev' field has been renamed to 'parent'
we can rename 'class_dev' to just 'dev'.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/et61x251/et61x251_core.c')
-rw-r--r-- | drivers/media/video/et61x251/et61x251_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/et61x251/et61x251_core.c b/drivers/media/video/et61x251/et61x251_core.c index 15d037a..3eea133 100644 --- a/drivers/media/video/et61x251/et61x251_core.c +++ b/drivers/media/video/et61x251/et61x251_core.c @@ -985,7 +985,7 @@ static DEVICE_ATTR(i2c_val, S_IRUGO | S_IWUSR, static int et61x251_create_sysfs(struct et61x251_device* cam) { - struct device *classdev = &(cam->v4ldev->class_dev); + struct device *classdev = &(cam->v4ldev->dev); int err = 0; if ((err = device_create_file(classdev, &dev_attr_reg))) |