From c5342d38eaad6fbf510c2c873116638db8e1b2a0 Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Thu, 5 Jul 2007 13:53:39 -0700 Subject: v4l2: Update v4l_printk_ioctl_arg From: Trent Piepho 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 --- linux/include/media/v4l2-common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux/include') 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) \ -- cgit v1.2.3