diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-04 09:06:18 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:04 -0400 |
commit | 401998fa96fe18b057af3f906527196522dd2d9d (patch) | |
tree | 32d656e18410ab05204c83b57969db23665e4fe9 /include/media/v4l2-common.h | |
parent | 7565ab082de88ec274283d6b83980144e520a2fc (diff) |
V4L/DVB (4065): Several improvements at videodev.c
Videodev now is capable of better handling V4L2 api, by
processing V4L2 ioctls and using callbacks to the driver.
The drivers should be migrated to the newer way and the older
one will be obsoleted soon.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/v4l2-common.h')
-rw-r--r-- | include/media/v4l2-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index e94aff029cc5..1440d4ab6af9 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -26,8 +26,14 @@ | |||
26 | #ifndef V4L2_COMMON_H_ | 26 | #ifndef V4L2_COMMON_H_ |
27 | #define V4L2_COMMON_H_ | 27 | #define V4L2_COMMON_H_ |
28 | 28 | ||
29 | #include <media/v4l2-dev.h> | ||
30 | |||
29 | /* v4l debugging and diagnostics */ | 31 | /* v4l debugging and diagnostics */ |
30 | 32 | ||
33 | /* Debug bitmask flags to be used on V4L2 */ | ||
34 | #define V4L2_DEBUG_IOCTL 0x01 | ||
35 | #define V4L2_DEBUG_IOCTL_ARG 0x02 | ||
36 | |||
31 | /* Common printk constucts for v4l-i2c drivers. These macros create a unique | 37 | /* Common printk constucts for v4l-i2c drivers. These macros create a unique |
32 | prefix consisting of the driver name, the adapter number and the i2c | 38 | prefix consisting of the driver name, the adapter number and the i2c |
33 | address. */ | 39 | address. */ |