1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Elonics R820T silicon tuner driver
5 * Copyright (C) 2012 Antti Palosaari <crope@iki.fi>
11 #include <media/dvb_frontend.h>
23 u8 i2c_addr
; /* 0x34 */
25 enum r820t_chip rafael_chip
;
26 unsigned max_i2c_msg_len
;
31 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_R820T)
32 struct dvb_frontend
*r820t_attach(struct dvb_frontend
*fe
,
33 struct i2c_adapter
*i2c
,
34 const struct r820t_config
*cfg
);
36 static inline struct dvb_frontend
*r820t_attach(struct dvb_frontend
*fe
,
37 struct i2c_adapter
*i2c
,
38 const struct r820t_config
*cfg
)
40 pr_warn("%s: driver disabled by Kconfig\n", __func__
);