summaryrefslogtreecommitdiff
path: root/linux/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-07-05 13:53:39 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-07-05 13:53:39 -0700
commitc5342d38eaad6fbf510c2c873116638db8e1b2a0 (patch)
treeb564bc42a331107879f6f9a1c55cecd79f69a9be /linux/include/media/v4l2-common.h
parentdb11322b5fc23a96710a22a662cf1a41f77e3cf9 (diff)
downloadmediapointer-dvb-s2-c5342d38eaad6fbf510c2c873116638db8e1b2a0.tar.gz
mediapointer-dvb-s2-c5342d38eaad6fbf510c2c873116638db8e1b2a0.tar.bz2
v4l2: Update v4l_printk_ioctl_arg
From: Trent Piepho <xyzzy@speakeasy.org> v4l_printk_ioctl_arg() is a debug printing function that is normally disabled. It was out of date with one ioctl and had a couple bugs in it elsewhere. This patch gets it in a state where it will work correctly, if it was enabled and used. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/include/media/v4l2-common.h')
-rw-r--r--linux/include/media/v4l2-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-common.h b/linux/include/media/v4l2-common.h
index 579835f92..3f6e53f72 100644
--- a/linux/include/media/v4l2-common.h
+++ b/linux/include/media/v4l2-common.h
@@ -69,6 +69,9 @@
/* Prints the ioctl in a human-readable format */
extern void v4l_printk_ioctl(unsigned int cmd);
+#if 0
+extern void v4l_printk_ioctl_arg(const char *s, unsigned int cmd, const void *arg);
+#endif
/* Use this macro for non-I2C drivers. Pass the driver name as the first arg. */
#define v4l_print_ioctl(name, cmd) \