summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-10-30 12:53:05 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2008-10-30 12:53:05 +0100
commit25c2545b3b3b5f35a60bf1d0ce5aaf89d89478b4 (patch)
tree72b38431944258932fa0287c376b198a0d582b5b
parent6a8bdf2d067c907fb70af7470a14f06d333461ec (diff)
downloadmediapointer-dvb-s2-25c2545b3b3b5f35a60bf1d0ce5aaf89d89478b4.tar.gz
mediapointer-dvb-s2-25c2545b3b3b5f35a60bf1d0ce5aaf89d89478b4.tar.bz2
cinergyT2: fix compilation on pre-2.6.18 kernels
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r--linux/drivers/media/dvb/dvb-usb/cinergyT2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/cinergyT2.h b/linux/drivers/media/dvb/dvb-usb/cinergyT2.h
index 11d79eb38..f008b41ad 100644
--- a/linux/drivers/media/dvb/dvb-usb/cinergyT2.h
+++ b/linux/drivers/media/dvb/dvb-usb/cinergyT2.h
@@ -30,7 +30,11 @@
#ifndef _DVB_USB_CINERGYT2_H_
#define _DVB_USB_CINERGYT2_H_
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18)
#include <linux/usb/input.h>
+#else
+#include <linux/usb_input.h>
+#endif
#define DVB_USB_LOG_PREFIX "cinergyT2"
#include "dvb-usb.h"