aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/xc5000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/tuners/xc5000.c')
-rw-r--r--drivers/media/common/tuners/xc5000.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c
index dcddfa803a75..50d42c8db4ea 100644
--- a/drivers/media/common/tuners/xc5000.c
+++ b/drivers/media/common/tuners/xc5000.c
@@ -30,7 +30,6 @@
30#include "dvb_frontend.h" 30#include "dvb_frontend.h"
31 31
32#include "xc5000.h" 32#include "xc5000.h"
33#include "xc5000_priv.h"
34 33
35static int debug; 34static int debug;
36module_param(debug, int, 0644); 35module_param(debug, int, 0644);
@@ -46,6 +45,18 @@ MODULE_PARM_DESC(init_fw, "Load firmware during driver initialization.");
46#define XC5000_DEFAULT_FIRMWARE "dvb-fe-xc5000-1.1.fw" 45#define XC5000_DEFAULT_FIRMWARE "dvb-fe-xc5000-1.1.fw"
47#define XC5000_DEFAULT_FIRMWARE_SIZE 12332 46#define XC5000_DEFAULT_FIRMWARE_SIZE 12332
48 47
48struct xc5000_priv {
49 struct xc5000_config *cfg;
50 struct i2c_adapter *i2c;
51
52 u32 freq_hz;
53 u32 bandwidth;
54 u8 video_standard;
55 u8 rf_mode;
56
57 void *devptr;
58};
59
49/* Misc Defines */ 60/* Misc Defines */
50#define MAX_TV_STANDARD 23 61#define MAX_TV_STANDARD 23
51#define XC_MAX_I2C_WRITE_LENGTH 64 62#define XC_MAX_I2C_WRITE_LENGTH 64