aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-07-19 11:31:10 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-07-30 14:53:11 -0400
commite8419d0890efaccb93f9f274d9ba0aae91210e8c (patch)
tree1a1e3d3a08a3352c0d83e8d5c02fc1ec472e5360 /drivers/media/v4l2-core
parente7359f8e660882fb2168609638163561eb2f50f0 (diff)
[media] V4L: Rename subdev field of struct v4l2_async_notifier
This is a purely cosmetic change. Since the 'subdev' member points to an array of subdevs make it more explicit by renaming to the plural form. Acked-and-tested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/v4l2-core')
-rw-r--r--drivers/media/v4l2-core/v4l2-async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/v4l2-core/v4l2-async.c b/drivers/media/v4l2-core/v4l2-async.c
index 9f91013a600d..ed31a655b9b7 100644
--- a/drivers/media/v4l2-core/v4l2-async.c
+++ b/drivers/media/v4l2-core/v4l2-async.c
@@ -147,7 +147,7 @@ int v4l2_async_notifier_register(struct v4l2_device *v4l2_dev,
147 INIT_LIST_HEAD(&notifier->done); 147 INIT_LIST_HEAD(&notifier->done);
148 148
149 for (i = 0; i < notifier->num_subdevs; i++) { 149 for (i = 0; i < notifier->num_subdevs; i++) {
150 asd = notifier->subdev[i]; 150 asd = notifier->subdevs[i];
151 151
152 switch (asd->match_type) { 152 switch (asd->match_type) {
153 case V4L2_ASYNC_MATCH_CUSTOM: 153 case V4L2_ASYNC_MATCH_CUSTOM: