summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/af9035.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-11-07 01:14:23 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-31 10:49:42 -0200
commit35ef193b2aa35e404c08d0c9ad010cf171a88cbd (patch)
treef90b1f2153906e46b787707b3922cd443881191f /drivers/media/usb/dvb-usb-v2/af9035.h
parent675ee801633396389e73dc8a8e148ff3cad1d470 (diff)
downloadtalos-obmc-linux-35ef193b2aa35e404c08d0c9ad010cf171a88cbd.tar.gz
talos-obmc-linux-35ef193b2aa35e404c08d0c9ad010cf171a88cbd.zip
[media] af9035: register it9133 tuner using platform binding
it913x tuner driver is changed to platform model so we need bind it using platform_device_register_data(). Also remove hacks from I2C adapter where fake tuner driver address (addr >> 1) were used as those are no longer needed. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/af9035.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/af9035.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.h b/drivers/media/usb/dvb-usb-v2/af9035.h
index 89a08a4eac2e..a76e6bf0ab1e 100644
--- a/drivers/media/usb/dvb-usb-v2/af9035.h
+++ b/drivers/media/usb/dvb-usb-v2/af9035.h
@@ -22,6 +22,7 @@
#ifndef AF9035_H
#define AF9035_H
+#include <linux/platform_device.h>
#include "dvb_usb.h"
#include "af9033.h"
#include "tua9001.h"
@@ -73,6 +74,7 @@ struct state {
#define AF9035_I2C_CLIENT_MAX 4
struct i2c_client *i2c_client[AF9035_I2C_CLIENT_MAX];
struct i2c_adapter *i2c_adapter_demod;
+ struct platform_device *platform_device_tuner[2];
};
static const u32 clock_lut_af9035[] = {
OpenPOWER on IntegriCloud