summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/it913x.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-11-10 04:24:50 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-31 13:50:34 +0100
commit8efb34b280401acdaad19b6f1920af09d2628334 (patch)
tree9768e5e058b38f35b34d088497a286bc7840cc6e /drivers/media/tuners/it913x.h
parent[media] af9035: register it9133 tuner using platform binding (diff)
downloadlinux-8efb34b280401acdaad19b6f1920af09d2628334.tar.xz
linux-8efb34b280401acdaad19b6f1920af09d2628334.zip
[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.h5
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