summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/av7110.c
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-01-10 22:53:18 +0000
committerMichael Hunold <devnull@localhost>2003-01-10 22:53:18 +0000
commitfc5c5844077c7478f7d0b67a1a7967f79d9376ba (patch)
tree3fa2be55940704feeb1dcac8cb8f7f60174870d6 /linux/drivers/media/dvb/ttpci/av7110.c
parent7a3f9d523410405ddeb5a18045135d08a81981a0 (diff)
downloadmediapointer-dvb-s2-fc5c5844077c7478f7d0b67a1a7967f79d9376ba.tar.gz
mediapointer-dvb-s2-fc5c5844077c7478f7d0b67a1a7967f79d9376ba.tar.bz2
- Fix broken i2c irq transfer, due to Holger's changes
- clean up the mxb driver and it's helper modules (rename the structures, add GPL license to the appropriate files, c99 initialisers) - fix 2.5.55 "module insertion causes bug in kobject.o" issue - fixed missing exported symbols in budget-core
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110.c')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c25
1 files changed, 12 insertions, 13 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index fbc0606e9..24ff9d7ba 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -73,6 +73,14 @@
#include "dvb_i2c.h"
#include "dvb_frontend.h"
+#if 1
+ #define DEBUG_VARIABLE av7110_debug
+#else
+ #define DEB_S(x)
+ #define DEB_D(x)
+ #define DEB_EE(x)
+#endif
+
#include "av7110.h"
#include "av7110_ipack.h"
@@ -88,19 +96,6 @@ void pes_to_ts(u8 const *buf, long int length, u16 pid, p2t_t *p);
void p_to_t(u8 const *buf, long int length, u16 pid, u8 *counter, struct dvb_demux_feed *feed);
static int av7110_debug = 0;
-#if 1
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51)
- #define KBUILD_MODNAME av7110
-#endif
-#define DEBUG_PROLOG printk("%s: %s(): ",__stringify(KBUILD_MODNAME),__FUNCTION__)
-#define DEB_S(x) if (0!=(av7110_debug&0x01)) { DEBUG_PROLOG; printk x; } /* simple debug messages */
-#define DEB_D(x) if (0!=(av7110_debug&0x02)) { DEBUG_PROLOG; printk x; } /* more detailed debug messages */
-#define DEB_EE(x) if (0!=(av7110_debug&0x04)) { DEBUG_PROLOG; printk x; } /* print enter and exit of functions */
-#else
-#define DEB_S(x)
-#define DEB_D(x)
-#define DEB_EE(x)
-#endif
static int vidmode=CVBS_RGB_OUT;
static int pids_off;
@@ -108,6 +103,10 @@ static int adac=DVB_ADAC_TI;
int av7110_num = 0;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51)
+ #define KBUILD_MODNAME av7110
+#endif
+
/****************************************************************************
* General helper functions
****************************************************************************/