1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Sony CXD2880 DVB-T2/T tuner + demodulator driver public definitions
6 * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
12 struct cxd2880_config
{
13 struct spi_device
*spi
;
14 struct mutex
*spi_mutex
; /* For SPI access exclusive control */
17 #if IS_REACHABLE(CONFIG_DVB_CXD2880)
18 extern struct dvb_frontend
*cxd2880_attach(struct dvb_frontend
*fe
,
19 struct cxd2880_config
*cfg
);
21 static inline struct dvb_frontend
*cxd2880_attach(struct dvb_frontend
*fe
,
22 struct cxd2880_config
*cfg
)
24 pr_warn("%s: driver disabled by Kconfig\n", __func__
);
27 #endif /* CONFIG_DVB_CXD2880 */
29 #endif /* CXD2880_H */