diff options
author | Antti Palosaari <crope@iki.fi> | 2014-12-13 05:16:19 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-03 21:00:05 +0300 |
commit | 6f5f6ee24ea3a27f0ed3655c2051691bceb8beec (patch) | |
tree | 967ef9ba2fe77cad2018bc1890c050c1d2e2f366 /drivers/media/dvb-frontends/rtl2832.h | |
parent | 15d37f382469b1f35a9fb97f839eb3122ef7bc98 (diff) | |
download | linux-6f5f6ee24ea3a27f0ed3655c2051691bceb8beec.tar.xz |
[media] rtl2832: add platform data callbacks for exported resources
Add callback for all of those functions which are currently
exported using EXPORT_SYMBOL. That allows us convert every user to
callbacks and eventually all exported symbols could be removed.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832.h')
-rw-r--r-- | drivers/media/dvb-frontends/rtl2832.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.h b/drivers/media/dvb-frontends/rtl2832.h index cfd69d8a9a81..dbc4d3ca5d37 100644 --- a/drivers/media/dvb-frontends/rtl2832.h +++ b/drivers/media/dvb-frontends/rtl2832.h @@ -58,6 +58,13 @@ struct rtl2832_platform_data { * returned by driver */ struct dvb_frontend **dvb_frontend; + + /* + */ + struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *); + struct i2c_adapter* (*get_i2c_adapter)(struct i2c_client *); + struct i2c_adapter* (*get_private_i2c_adapter)(struct i2c_client *); + int (*enable_slave_ts)(struct i2c_client *); }; #if IS_ENABLED(CONFIG_DVB_RTL2832) |