summaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2007-11-02 15:16:35 +0100
committerMauro Carvalho Chehab2010-05-18 05:39:53 +0200
commit2c9a95ba17bfe5fc24a1f782c172c03b74fcda1e (patch)
tree354935e9e7262ded03ad81101f9b896263011c16 /drivers/staging/tm6000/tm6000-core.c
parentV4L/DVB (12808): tm6000: Move analog tv standards to tm6000-stds (diff)
downloadkernel-qcow2-linux-2c9a95ba17bfe5fc24a1f782c172c03b74fcda1e.tar.gz
kernel-qcow2-linux-2c9a95ba17bfe5fc24a1f782c172c03b74fcda1e.tar.xz
kernel-qcow2-linux-2c9a95ba17bfe5fc24a1f782c172c03b74fcda1e.zip
V4L/DVB (12809): tm6000: Remove an old hack
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-core.c')
-rw-r--r--drivers/staging/tm6000/tm6000-core.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c
index ddd61ca3d1d0..af97a2391123 100644
--- a/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c
@@ -30,10 +30,6 @@
#include <media/v4l2-common.h>
#include <media/tuner.h>
-#ifdef HACK /* HACK */
-#include "tm6000-hack.c"
-#endif
-
#define USB_TIMEOUT 5*HZ /* ms */
int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
@@ -313,11 +309,6 @@ int tm6000_init (struct tm6000_core *dev)
{
int board, rc=0, i;
-#ifdef HACK /* HACK */
- init_tm6000(dev);
- return 0;
-#else
-
/* Load board's initialization table */
for (i=0; i< ARRAY_SIZE(init_tab); i++) {
rc= tm6000_set_reg (dev, REQ_07_SET_GET_AVREG,
@@ -375,8 +366,6 @@ int tm6000_init (struct tm6000_core *dev)
msleep(50);
-#endif /* HACK */
-
return 0;
}