1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Driver for the MaxLinear MxL5xx family of tuners/demods
5 * Copyright (C) 2014-2015 Ralph Metzler <rjkm@metzlerbros.de>
6 * Marcus Metzler <mocm@metzlerbros.de>
7 * developed for Digital Devices GmbH
10 * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved
11 * which was released under GPL V2
17 #include <linux/types.h>
18 #include <linux/i2c.h>
20 #include <media/dvb_frontend.h>
32 int (*fw_read
)(void *priv
, u8
*buf
, u32 len
);
36 #if IS_REACHABLE(CONFIG_DVB_MXL5XX)
38 extern struct dvb_frontend
*mxl5xx_attach(struct i2c_adapter
*i2c
,
39 struct mxl5xx_cfg
*cfg
, u32 demod
, u32 tuner
,
40 int (**fn_set_input
)(struct dvb_frontend
*, int));
44 static inline struct dvb_frontend
*mxl5xx_attach(struct i2c_adapter
*i2c
,
45 struct mxl5xx_cfg
*cfg
, u32 demod
, u32 tuner
,
46 int (**fn_set_input
)(struct dvb_frontend
*, int))
48 pr_warn("%s: driver disabled by Kconfig\n", __func__
);
52 #endif /* CONFIG_DVB_MXL5XX */
54 #endif /* _MXL5XX_H_ */