summaryrefslogtreecommitdiff
path: root/include/media/v4l2-dev.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-20 06:31:39 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-23 16:42:49 -0300
commit5e85e732f0ed56aa97a3ba26ac2b93ffe597a208 (patch)
tree899da0a99112d5e1b66d49d8561680f716798541 /include/media/v4l2-dev.h
parent27a5e6d3fcce73ceeee8f3bdc9a30c4564233800 (diff)
downloadlwn-5e85e732f0ed56aa97a3ba26ac2b93ffe597a208.tar.gz
lwn-5e85e732f0ed56aa97a3ba26ac2b93ffe597a208.zip
V4L/DVB (8428): videodev: rename 'dev' to 'parent'
The field 'dev' is not the video device, but the parent of the video device. Rename accordingly. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/v4l2-dev.h')
-rw-r--r--include/media/v4l2-dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index 33f379b1ecfe..5ae261fbcb7e 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -89,7 +89,7 @@ struct video_device
/* sysfs */
struct device class_dev; /* v4l device */
- struct device *dev; /* device parent */
+ struct device *parent; /* device parent */
/* device info */
char name[32];