summaryrefslogtreecommitdiff
path: root/linux/include/media/v4l2-device.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-01-22 20:52:03 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-22 20:52:03 -0200
commitde00985e053e5742126ccd5299ac49047fecec88 (patch)
tree552032607812c7512db3b0a271ee76c2d43626d5 /linux/include/media/v4l2-device.h
parent942a41fc50cf6a55b959fd4470ce7a1ace120dfb (diff)
parentc475839553c110df9e43e58998cd37d05a34de20 (diff)
downloadmediapointer-dvb-s2-de00985e053e5742126ccd5299ac49047fecec88.tar.gz
mediapointer-dvb-s2-de00985e053e5742126ccd5299ac49047fecec88.tar.bz2
merge: http://linuxtv.org/hg/~anttip/af9015/
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/include/media/v4l2-device.h')
-rw-r--r--linux/include/media/v4l2-device.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/include/media/v4l2-device.h b/linux/include/media/v4l2-device.h
index 9bf4ccc93..55e41afd9 100644
--- a/linux/include/media/v4l2-device.h
+++ b/linux/include/media/v4l2-device.h
@@ -94,16 +94,16 @@ void v4l2_device_unregister_subdev(struct v4l2_subdev *sd);
/* Call the specified callback for all subdevs matching grp_id (if 0, then
match them all). Ignore any errors. Note that you cannot add or delete
a subdev while walking the subdevs list. */
-#define v4l2_device_call_all(dev, grp_id, o, f, args...) \
+#define v4l2_device_call_all(dev, grpid, o, f, args...) \
__v4l2_device_call_subdevs(dev, \
- !(grp_id) || sd->grp_id == (grp_id), o, f , ##args)
+ !(grpid) || sd->grp_id == (grpid), o, f , ##args)
/* Call the specified callback for all subdevs matching grp_id (if 0, then
match them all). If the callback returns an error other than 0 or
-ENOIOCTLCMD, then return with that error code. Note that you cannot
add or delete a subdev while walking the subdevs list. */
-#define v4l2_device_call_until_err(dev, grp_id, o, f, args...) \
+#define v4l2_device_call_until_err(dev, grpid, o, f, args...) \
__v4l2_device_call_subdevs_until_err(dev, \
- !(grp_id) || sd->grp_id == (grp_id), o, f , ##args)
+ !(grpid) || sd->grp_id == (grpid), o, f , ##args)
#endif