summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/usbvideo/usbvideo.h
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-02-19 19:27:58 -0800
committerTrent Piepho <xyzzy@speakeasy.org>2007-02-19 19:27:58 -0800
commitdf6112a72da3840ed73c44ba5bdc8f69228d4393 (patch)
tree11d8df2cb23055daf24c9ea353327d16da745199 /linux/drivers/media/video/usbvideo/usbvideo.h
parent13aac084f52613baf79f047bdac0b0decc2b37d2 (diff)
downloadmediapointer-dvb-s2-df6112a72da3840ed73c44ba5bdc8f69228d4393.tar.gz
mediapointer-dvb-s2-df6112a72da3840ed73c44ba5bdc8f69228d4393.tar.bz2
compat: input_dev compat code for konicawc and quickcam_messenger
From: Trent Piepho <xyzzy@speakeasy.org> Adjust konicawc and quickcam_messenger to use backward compat code relating to changes in the input layer in 2.6.15. They should now work in 2.6.12. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/usbvideo/usbvideo.h')
-rw-r--r--linux/drivers/media/video/usbvideo/usbvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/usbvideo/usbvideo.h b/linux/drivers/media/video/usbvideo/usbvideo.h
index aaafce2b5..c1f892825 100644
--- a/linux/drivers/media/video/usbvideo/usbvideo.h
+++ b/linux/drivers/media/video/usbvideo/usbvideo.h
@@ -16,13 +16,13 @@
#ifndef usbvideo_h
#define usbvideo_h
-#include "compat.h"
#include <linux/videodev.h>
#include <media/v4l2-common.h>
#include <linux/usb.h>
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
#include <linux/mutex.h>
#endif
+#include "compat.h"
/* Most helpful debugging aid */
#define assert(expr) ((void) ((expr) ? 0 : (err("assert failed at line %d",__LINE__))))