diff options
author | Antti Palosaari <crope@iki.fi> | 2016-11-10 01:24:50 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-01-31 10:50:34 -0200 |
commit | 8efb34b280401acdaad19b6f1920af09d2628334 (patch) | |
tree | 9768e5e058b38f35b34d088497a286bc7840cc6e /drivers/media/tuners/it913x.h | |
parent | 35ef193b2aa35e404c08d0c9ad010cf171a88cbd (diff) | |
download | linux-8efb34b280401acdaad19b6f1920af09d2628334.tar.gz |
[media] it913x: add chip device ids for binding
Driver supports 2 different device versions, AX and BX. Use device
IDs to pass chip version information to driver.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/tuners/it913x.h')
-rw-r--r-- | drivers/media/tuners/it913x.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/tuners/it913x.h b/drivers/media/tuners/it913x.h index 9fb8e028176d..226f657228fb 100644 --- a/drivers/media/tuners/it913x.h +++ b/drivers/media/tuners/it913x.h @@ -25,21 +25,16 @@ * struct it913x_platform_data - Platform data for the it913x driver * @regmap: af9033 demod driver regmap. * @dvb_frontend: af9033 demod driver DVB frontend. - * @chip_ver: Used chip version. 1=IT9133 AX, 2=IT9133 BX. * @role: Chip role, single or dual configuration. */ struct it913x_platform_data { struct regmap *regmap; struct dvb_frontend *fe; - unsigned int chip_ver:2; #define IT913X_ROLE_SINGLE 0 #define IT913X_ROLE_DUAL_MASTER 1 #define IT913X_ROLE_DUAL_SLAVE 2 unsigned int role:2; }; -/* Backwards compatibility */ -#define it913x_config it913x_platform_data - #endif |