1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Conexant CX24120/CX24118 - DVB-S/S2 demod/tuner driver
5 * Copyright (C) 2008 Patrick Boettcher <pb@linuxtv.org>
6 * Copyright (C) 2009 Sergey Tyurin <forum.free-x.de>
7 * Updated 2012 by Jannis Achstetter <jannis_achstetter@web.de>
8 * Copyright (C) 2015 Jemma Denson <jdenson@gmail.com>
14 #include <linux/dvb/frontend.h>
15 #include <linux/firmware.h>
17 struct cx24120_initial_mpeg_config
{
23 struct cx24120_config
{
26 struct cx24120_initial_mpeg_config initial_mpeg_config
;
28 int (*request_firmware
)(struct dvb_frontend
*fe
,
29 const struct firmware
**fw
, char *name
);
31 /* max bytes I2C provider can write at once */
35 #if IS_REACHABLE(CONFIG_DVB_CX24120)
36 struct dvb_frontend
*cx24120_attach(const struct cx24120_config
*config
,
37 struct i2c_adapter
*i2c
);
40 struct dvb_frontend
*cx24120_attach(const struct cx24120_config
*config
,
41 struct i2c_adapter
*i2c
)
43 pr_warn("%s: driver disabled by Kconfig\n", __func__
);
48 #endif /* CX24120_H */