aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-dvb.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-02-08 08:44:26 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 00:43:56 -0300
commit591a0d35a8e9bad1ae2481502ba3b7facb4a0dac (patch)
tree58a08b323dff2eaa61025e76eb5adb6faee434e2 /drivers/staging/tm6000/tm6000-dvb.c
parentV4L/DVB: tm6000: add a different set param values (diff)
downloadlinux-dev-591a0d35a8e9bad1ae2481502ba3b7facb4a0dac.tar.xz
linux-dev-591a0d35a8e9bad1ae2481502ba3b7facb4a0dac.zip
V4L/DVB: tm6000: Allow tm6000 driver compilation
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-dvb.c')
-rw-r--r--drivers/staging/tm6000/tm6000-dvb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/tm6000/tm6000-dvb.c b/drivers/staging/tm6000/tm6000-dvb.c
index 97bc2d14878e..e16d55efb4f2 100644
--- a/drivers/staging/tm6000/tm6000-dvb.c
+++ b/drivers/staging/tm6000/tm6000-dvb.c
@@ -19,7 +19,6 @@
#include <linux/kernel.h>
#include <linux/usb.h>
-#include <compat.h>
#include "tm6000.h"
#include "tm6000-regs.h"
@@ -72,12 +71,7 @@ static void inline print_err_status (struct tm6000_core *dev,
}
}
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
-static void tm6000_urb_received(struct urb *urb, struct pt_regs *ptregs)
-#else
static void tm6000_urb_received(struct urb *urb)
-#endif
{
int ret;
struct tm6000_core* dev = urb->context;
@@ -226,7 +220,6 @@ int tm6000_dvb_attach_frontend(struct tm6000_core *dev)
.parallel_ts = 1,
.if2 = 45700,
.disable_i2c_gate_ctrl = 1,
- .tm6000 = 1,
};
dvb->frontend = pseudo_zl10353_attach(dev, &config,