1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Driver for Microtune MT2131 "QAM/8VSB single chip tuner"
5 * Copyright (c) 2006 Steven Toth <stoth@linuxtv.org>
14 struct mt2131_config
{
16 u8 clock_out
; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */
19 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_MT2131)
20 extern struct dvb_frontend
* mt2131_attach(struct dvb_frontend
*fe
,
21 struct i2c_adapter
*i2c
,
22 struct mt2131_config
*cfg
,
25 static inline struct dvb_frontend
* mt2131_attach(struct dvb_frontend
*fe
,
26 struct i2c_adapter
*i2c
,
27 struct mt2131_config
*cfg
,
30 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
33 #endif /* CONFIG_MEDIA_TUNER_MT2131 */
35 #endif /* __MT2131_H__ */