summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/budget.h
diff options
context:
space:
mode:
authorKenneth Aafloy <devnull@localhost>2004-11-14 15:42:21 +0000
committerKenneth Aafloy <devnull@localhost>2004-11-14 15:42:21 +0000
commitd3d09e17ff71b19ea41a1d6455724452c7704786 (patch)
tree5f4595af4e1492f0dcabdbbf23c3e0c24c32ff75 /linux/drivers/media/dvb/ttpci/budget.h
parent84b890d611f9ac41816a154c3a7fe7a223c404a0 (diff)
downloadmediapointer-dvb-s2-d3d09e17ff71b19ea41a1d6455724452c7704786.tar.gz
mediapointer-dvb-s2-d3d09e17ff71b19ea41a1d6455724452c7704786.tar.bz2
- Fix budget module usage count for frontend/demux devices.
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget.h')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget.h b/linux/drivers/media/dvb/ttpci/budget.h
index 12d5d006e..10bd41f03 100644
--- a/linux/drivers/media/dvb/ttpci/budget.h
+++ b/linux/drivers/media/dvb/ttpci/budget.h
@@ -9,6 +9,7 @@
#include "dvb_filter.h"
#include "dvb_net.h"
+#include <linux/module.h>
#include <media/saa7146.h>
extern int budget_debug;
@@ -95,8 +96,9 @@ static struct saa7146_pci_extension_data x_var = { \
#define BUDGET_VIDEO_PORTA 0
#define BUDGET_VIDEO_PORTB 1
-extern int ttpci_budget_init(struct budget *budget,
- struct saa7146_dev *dev, struct saa7146_pci_extension_data *info);
+extern int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev,
+ struct saa7146_pci_extension_data *info,
+ struct module *owner);
extern int ttpci_budget_deinit(struct budget *budget);
extern void ttpci_budget_irq10_handler(struct saa7146_dev *dev, u32 * isr);
extern void ttpci_budget_set_video_port(struct saa7146_dev *dev, int video_port);