aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/et61x251
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-20 05:35:02 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-23 15:42:52 -0400
commit22a04f106346c3af019135f2de3cabf9ac41c3ba (patch)
tree520b5260c3883f153cb55192f7df92899fbd062e /drivers/media/video/et61x251
parent5e85e732f0ed56aa97a3ba26ac2b93ffe597a208 (diff)
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')
-rw-r--r--drivers/media/video/et61x251/et61x251_core.c2
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 15d037ae25c5..3eea1333a52f 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,
985 985
986static int et61x251_create_sysfs(struct et61x251_device* cam) 986static int et61x251_create_sysfs(struct et61x251_device* cam)
987{ 987{
988 struct device *classdev = &(cam->v4ldev->class_dev); 988 struct device *classdev = &(cam->v4ldev->dev);
989 int err = 0; 989 int err = 0;
990 990
991 if ((err = device_create_file(classdev, &dev_attr_reg))) 991 if ((err = device_create_file(classdev, &dev_attr_reg)))