summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci-budget/budget.h
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-01-04 19:48:28 +0000
committerMichael Hunold <devnull@localhost>2003-01-04 19:48:28 +0000
commit74da6acaec2a3b10a9491ba7fc267aa9c5b5911c (patch)
tree7123efdbd11457b2ef70051031cadc7cb8e58d82 /linux/drivers/media/dvb/ttpci-budget/budget.h
parent1b6e9b125957414be221d3e6208dac87dc02767b (diff)
downloadmediapointer-dvb-s2-74da6acaec2a3b10a9491ba7fc267aa9c5b5911c.tar.gz
mediapointer-dvb-s2-74da6acaec2a3b10a9491ba7fc267aa9c5b5911c.tar.bz2
- Removed preinit() from saa7146 probe()/attach() logic, it's not used
at all - fixed most obvious flaws in budget.c, it's partially tested (ie. module loads/unloads ok) - added the "video part" to budget-av.c, it's partially tested (ie. module loads/unloads ok, xawtv can access the video inputs)
Diffstat (limited to 'linux/drivers/media/dvb/ttpci-budget/budget.h')
-rw-r--r--linux/drivers/media/dvb/ttpci-budget/budget.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget.h b/linux/drivers/media/dvb/ttpci-budget/budget.h
index 939cc375f..57cfcc22c 100644
--- a/linux/drivers/media/dvb/ttpci-budget/budget.h
+++ b/linux/drivers/media/dvb/ttpci-budget/budget.h
@@ -12,9 +12,6 @@
#include "saa7146.h"
#if 1
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51)
- #define KBUILD_MODNAME budget
-#endif
#define DEBUG_PROLOG printk("%s: %s(): ",__stringify(KBUILD_MODNAME),__FUNCTION__)
#define DEB_S(x) if (0!=(budget_debug&0x01)) { DEBUG_PROLOG; printk x; } /* simple debug messages */
#define DEB_D(x) if (0!=(budget_debug&0x02)) { DEBUG_PROLOG; printk x; } /* more detailed debug messages */
@@ -35,7 +32,7 @@ struct budget_s {
struct saa7146_dev *dev;
struct dvb_i2c_bus *i2c_bus;
- struct saa7146_sub_info *card_type;
+ struct saa7146_sub_info *card;
unsigned char *grabbing;
struct saa7146_pgtable pt;
@@ -59,6 +56,7 @@ struct budget_s {
int registered;
struct dvb_adapter *dvb_adapter;
+ void *priv;
};
#define TS_WIDTH (4*188)