summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-16 16:50:54 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-03 21:16:17 +0300
commita2f7f220df5edf7cbe17ec89f49676a7b4b64d34 (patch)
treeaf8bd89f4902caff437ea7061388688eee977385 /drivers/media/usb/dvb-usb-v2/rtl28xxu.h
parent63bdab5d31b987c5ccb81c3c6662016d07cbb5b7 (diff)
downloadlinux-a2f7f220df5edf7cbe17ec89f49676a7b4b64d34.tar.xz
[media] rtl28xxu: switch SDR module to platform driver
RTL2832 SDR module implements kernel platform driver. Change old binding to that one. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/rtl28xxu.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/rtl28xxu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
index cb3fc6595332..62d32491fbe4 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
@@ -22,6 +22,8 @@
#ifndef RTL28XXU_H
#define RTL28XXU_H
+#include <linux/platform_device.h>
+
#include "dvb_usb.h"
#include "rtl2830.h"
@@ -76,6 +78,7 @@ struct rtl28xxu_priv {
struct i2c_client *i2c_client_demod;
struct i2c_client *i2c_client_tuner;
struct i2c_client *i2c_client_slave_demod;
+ struct platform_device *platform_device_sdr;
#define SLAVE_DEMOD_NONE 0
#define SLAVE_DEMOD_MN88472 1
#define SLAVE_DEMOD_MN88473 2