summaryrefslogtreecommitdiff
path: root/linux/drivers/staging
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2007-11-02 12:16:35 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2007-11-02 12:16:35 -0200
commit941076a614d523b4e4b0ca5440da8c0f2011c258 (patch)
tree0276085261d004f32e653aac346ebef179f4e779 /linux/drivers/staging
parentc764c28d9e790d3a0bb54b29770690fd442b76df (diff)
downloadmediapointer-dvb-s2-941076a614d523b4e4b0ca5440da8c0f2011c258.tar.gz
mediapointer-dvb-s2-941076a614d523b4e4b0ca5440da8c0f2011c258.tar.bz2
tm6000: Remove an old hack
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/staging')
-rw-r--r--linux/drivers/staging/tm6000/tm6000-core.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/linux/drivers/staging/tm6000/tm6000-core.c b/linux/drivers/staging/tm6000/tm6000-core.c
index 4a11b87c2..be2bab3c2 100644
--- a/linux/drivers/staging/tm6000/tm6000-core.c
+++ b/linux/drivers/staging/tm6000/tm6000-core.c
@@ -31,10 +31,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,
@@ -320,11 +316,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,
@@ -382,8 +373,6 @@ int tm6000_init (struct tm6000_core *dev)
msleep(50);
-#endif /* HACK */
-
return 0;
}