summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/si2165.h
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2016-07-26 04:09:06 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-22 12:55:49 -0300
commit81fd533a972a28f43b080fe7fdc473dac3e988c6 (patch)
tree9eef607c2ad86f49f4d8370c99bc9b1531e23b12 /drivers/media/dvb-frontends/si2165.h
parent773028fefcede683f68d138e5ead3d2e96b32387 (diff)
[media] si2165: Remove legacy attach
Now that all users of legacy attach are converted it can be removed. Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/si2165.h')
-rw-r--r--drivers/media/dvb-frontends/si2165.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/drivers/media/dvb-frontends/si2165.h b/drivers/media/dvb-frontends/si2165.h
index abbebc9edf0c..76c2ca7d7edb 100644
--- a/drivers/media/dvb-frontends/si2165.h
+++ b/drivers/media/dvb-frontends/si2165.h
@@ -50,35 +50,4 @@ struct si2165_platform_data {
bool inversion;
};
-struct si2165_config {
- /* i2c addr
- * possible values: 0x64,0x65,0x66,0x67 */
- u8 i2c_addr;
-
- /* external clock or XTAL */
- u8 chip_mode;
-
- /* frequency of external clock or xtal in Hz
- * possible values: 4000000, 16000000, 20000000, 240000000, 27000000
- */
- u32 ref_freq_Hz;
-
- /* invert the spectrum */
- bool inversion;
-};
-
-#if IS_REACHABLE(CONFIG_DVB_SI2165)
-struct dvb_frontend *si2165_attach(
- const struct si2165_config *config,
- struct i2c_adapter *i2c);
-#else
-static inline struct dvb_frontend *si2165_attach(
- const struct si2165_config *config,
- struct i2c_adapter *i2c)
-{
- pr_warn("%s: driver disabled by Kconfig\n", __func__);
- return NULL;
-}
-#endif /* CONFIG_DVB_SI2165 */
-
#endif /* _DVB_SI2165_H */