diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-20 11:35:02 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-20 11:35:02 +0200 |
commit | 2823a672c698095820a3512be8a22988777b40c4 (patch) | |
tree | 79418df0e952627a94fe5900122a0e16d35a87bf /linux/drivers/media/video/et61x251 | |
parent | bcc38c16d5b89d3e0303fd38b255fe1d753802fc (diff) | |
download | mediapointer-dvb-s2-2823a672c698095820a3512be8a22988777b40c4.tar.gz mediapointer-dvb-s2-2823a672c698095820a3512be8a22988777b40c4.tar.bz2 |
videodev: renamed 'class_dev' to 'dev'
From: Hans Verkuil <hverkuil@xs4all.nl>
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>
Diffstat (limited to 'linux/drivers/media/video/et61x251')
-rw-r--r-- | linux/drivers/media/video/et61x251/et61x251_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/et61x251/et61x251_core.c b/linux/drivers/media/video/et61x251/et61x251_core.c index 4d08f0225..3be3287ed 100644 --- a/linux/drivers/media/video/et61x251/et61x251_core.c +++ b/linux/drivers/media/video/et61x251/et61x251_core.c @@ -989,7 +989,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))) |