summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci-budget/budget.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/ttpci-budget/budget.h')
-rw-r--r--linux/drivers/media/dvb/ttpci-budget/budget.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget.h b/linux/drivers/media/dvb/ttpci-budget/budget.h
index 825ed4581..09dbb2735 100644
--- a/linux/drivers/media/dvb/ttpci-budget/budget.h
+++ b/linux/drivers/media/dvb/ttpci-budget/budget.h
@@ -20,7 +20,7 @@ struct budget_info {
};
/* place to store all the necessary device information */
-struct budget_s {
+struct budget {
/* devices */
struct dvb_device dvb_dev;
@@ -51,12 +51,12 @@ struct budget_s {
u32 ttbp;
int feeding;
- int registered;
-
struct dvb_adapter *dvb_adapter;
void *priv;
};
+
+
#define MAKE_BUDGET_INFO(x_var,x_name,x_type) \
static struct budget_info x_var ## _info = { \
.name=x_name, \
@@ -75,10 +75,12 @@ static struct saa7146_pci_extension_data x_var = { \
#define BUDGET_KNC1 2
#define BUDGET_PATCH 3
-int budget_probe(struct saa7146_dev *, unsigned int subvendor, unsigned int subdevice);
-void budget_irq(struct saa7146_dev *, u32 *isr);
-int budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *info);
-int budget_detach (struct saa7146_dev *);
-int budget_register(struct budget_s *budget);
+
+extern int ttpci_budget_init (struct budget *budget,
+ struct saa7146_dev* dev,
+ struct saa7146_pci_extension_data *info);
+extern int ttpci_budget_deinit (struct budget *budget);
+extern void ttpci_budget_irq10_handler (struct saa7146_dev* dev, u32 *isr);
#endif
+