mirror of https://gitee.com/openkylin/linux.git
[media] it913x: remove unused variables
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
44af747f4e
commit
1085979792
|
@ -23,25 +23,15 @@
|
||||||
#include "it913x_priv.h"
|
#include "it913x_priv.h"
|
||||||
|
|
||||||
struct it913x_state {
|
struct it913x_state {
|
||||||
struct dvb_frontend frontend;
|
|
||||||
struct i2c_adapter *i2c_adap;
|
struct i2c_adapter *i2c_adap;
|
||||||
u8 chip_ver;
|
|
||||||
u8 firmware_ver;
|
|
||||||
u8 i2c_addr;
|
u8 i2c_addr;
|
||||||
u32 frequency;
|
u8 chip_ver;
|
||||||
fe_modulation_t constellation;
|
|
||||||
fe_transmit_mode_t transmission_mode;
|
|
||||||
u8 priority;
|
|
||||||
u32 crystalFrequency;
|
|
||||||
u32 adcFrequency;
|
|
||||||
u8 tuner_type;
|
u8 tuner_type;
|
||||||
struct adctable *table;
|
u8 firmware_ver;
|
||||||
fe_status_t it913x_status;
|
|
||||||
u16 tun_xtal;
|
u16 tun_xtal;
|
||||||
u8 tun_fdiv;
|
u8 tun_fdiv;
|
||||||
u8 tun_clk_mode;
|
u8 tun_clk_mode;
|
||||||
u32 tun_fn_min;
|
u32 tun_fn_min;
|
||||||
u32 ucblocks;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* read multiple registers */
|
/* read multiple registers */
|
||||||
|
|
|
@ -34,22 +34,10 @@
|
||||||
#define IT9135_61 0x61
|
#define IT9135_61 0x61
|
||||||
#define IT9135_62 0x62
|
#define IT9135_62 0x62
|
||||||
|
|
||||||
#define I2C_BASE_ADDR 0x10
|
|
||||||
#define DEV_0 0x0
|
|
||||||
#define DEV_1 0x10
|
|
||||||
#define PRO_LINK 0x0
|
#define PRO_LINK 0x0
|
||||||
#define PRO_DMOD 0x1
|
#define PRO_DMOD 0x1
|
||||||
#define DEV_0_DMOD (PRO_DMOD << 0x7)
|
|
||||||
#define DEV_1_DMOD (DEV_0_DMOD | DEV_1)
|
|
||||||
#define CHIP2_I2C_ADDR 0x3a
|
|
||||||
|
|
||||||
#define PADODPU 0xd827
|
|
||||||
#define THIRDODPU 0xd828
|
|
||||||
#define AGC_O_D 0xd829
|
|
||||||
|
|
||||||
#define TRIGGER_OFSM 0x0000
|
#define TRIGGER_OFSM 0x0000
|
||||||
|
|
||||||
|
|
||||||
struct it913xset { u32 pro;
|
struct it913xset { u32 pro;
|
||||||
u32 address;
|
u32 address;
|
||||||
u8 reg[15];
|
u8 reg[15];
|
||||||
|
|
Loading…
Reference in New Issue