1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Driver for Maxim MAX2165 silicon tuner
5 * Copyright (c) 2009 David T. L. Wong <davidtlwong@gmail.com>
14 struct max2165_config
{
16 u8 osc_clk
; /* in MHz, selectable values: 4,16,18,20,22,24,26,28 */
19 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_MAX2165)
20 extern struct dvb_frontend
*max2165_attach(struct dvb_frontend
*fe
,
21 struct i2c_adapter
*i2c
,
22 struct max2165_config
*cfg
);
24 static inline struct dvb_frontend
*max2165_attach(struct dvb_frontend
*fe
,
25 struct i2c_adapter
*i2c
,
26 struct max2165_config
*cfg
)
28 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);