#ifndef __BUDGET_DVB__
#define __BUDGET_DVB__
#ifdef pr_fmt
#undef pr_fmt
#endif
#define pr_fmt(fmt) …
#include <media/dvb_frontend.h>
#include <media/dvbdev.h>
#include <media/demux.h>
#include <media/dvb_demux.h>
#include <media/dmxdev.h>
#include <media/dvb_net.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/workqueue.h>
#include <media/drv-intf/saa7146.h>
extern int budget_debug;
#ifdef dprintk
#undef dprintk
#endif
#define dprintk(level, fmt, arg...) …
#define TS_SIZE …
struct budget_info { … };
struct budget { … };
#define MAKE_BUDGET_INFO(x_var, x_name, x_type) …
#define BUDGET_TT …
#define BUDGET_TT_HW_DISEQC …
#define BUDGET_PATCH …
#define BUDGET_FS_ACTIVY …
#define BUDGET_CIN1200S …
#define BUDGET_CIN1200C …
#define BUDGET_CIN1200T …
#define BUDGET_KNC1S …
#define BUDGET_KNC1C …
#define BUDGET_KNC1T …
#define BUDGET_KNC1SP …
#define BUDGET_KNC1CP …
#define BUDGET_KNC1TP …
#define BUDGET_TVSTAR …
#define BUDGET_CIN1200C_MK3 …
#define BUDGET_KNC1C_MK3 …
#define BUDGET_KNC1CP_MK3 …
#define BUDGET_KNC1S2 …
#define BUDGET_KNC1C_TDA10024 …
#define BUDGET_VIDEO_PORTA …
#define BUDGET_VIDEO_PORTB …
extern int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev,
struct saa7146_pci_extension_data *info,
struct module *owner, short *adapter_nums);
extern void ttpci_budget_init_hooks(struct budget *budget);
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);
extern int ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count,
int uselocks, int nobusyloop);
extern int ttpci_budget_debiwrite(struct budget *budget, u32 config, int addr, int count, u32 value,
int uselocks, int nobusyloop);
#endif