summaryrefslogtreecommitdiff
path: root/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 20:26:54 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-23 19:00:22 -0300
commit2864462eaf027ff10c1df1ce57d3518332e9083c (patch)
tree8c8821332b24f050601b5e1cc584752aa541034e /include/media/v4l2-common.h
parent35ea11ff84719b1bfab2909903a9640a86552fd1 (diff)
downloadlinux-3.10-2864462eaf027ff10c1df1ce57d3518332e9083c.tar.gz
linux-3.10-2864462eaf027ff10c1df1ce57d3518332e9083c.tar.bz2
linux-3.10-2864462eaf027ff10c1df1ce57d3518332e9083c.zip
V4L/DVB (8434): Fix x86_64 compilation and move some macros to v4l2-ioctl.h
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/v4l2-common.h')
-rw-r--r--include/media/v4l2-common.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index 8bbb526a5a2..07d3a9a575d 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -28,12 +28,6 @@
#include <media/v4l2-dev.h>
-/* v4l debugging and diagnostics */
-
-/* Debug bitmask flags to be used on V4L2 */
-#define V4L2_DEBUG_IOCTL 0x01
-#define V4L2_DEBUG_IOCTL_ARG 0x02
-
/* Common printk constucts for v4l-i2c drivers. These macros create a unique
prefix consisting of the driver name, the adapter number and the i2c
address. */
@@ -61,22 +55,6 @@
v4l_client_printk(KERN_DEBUG, client, fmt , ## arg); \
} while (0)
-
-/* Use this macro for non-I2C drivers. Pass the driver name as the first arg. */
-#define v4l_print_ioctl(name, cmd) \
- do { \
- printk(KERN_DEBUG "%s: ", name); \
- v4l_printk_ioctl(cmd); \
- } while (0)
-
-/* Use this macro in I2C drivers where 'client' is the struct i2c_client
- pointer */
-#define v4l_i2c_print_ioctl(client, cmd) \
- do { \
- v4l_client_printk(KERN_DEBUG, client, ""); \
- v4l_printk_ioctl(cmd); \
- } while (0)
-
/* ------------------------------------------------------------------------- */
/* Priority helper functions */