1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Driver for Dummy Frontend
5 * Written by Emard <emard@softhome.net>
11 #include <linux/dvb/frontend.h>
12 #include <media/dvb_frontend.h>
14 #if IS_REACHABLE(CONFIG_DVB_DUMMY_FE)
15 struct dvb_frontend
*dvb_dummy_fe_ofdm_attach(void);
16 struct dvb_frontend
*dvb_dummy_fe_qpsk_attach(void);
17 struct dvb_frontend
*dvb_dummy_fe_qam_attach(void);
19 static inline struct dvb_frontend
*dvb_dummy_fe_ofdm_attach(void)
21 pr_warn("%s: driver disabled by Kconfig\n", __func__
);
24 static inline struct dvb_frontend
*dvb_dummy_fe_qpsk_attach(void)
26 pr_warn("%s: driver disabled by Kconfig\n", __func__
);
29 static inline struct dvb_frontend
*dvb_dummy_fe_qam_attach(void)
31 pr_warn("%s: driver disabled by Kconfig\n", __func__
);
34 #endif /* CONFIG_DVB_DUMMY_FE */
36 #endif // DVB_DUMMY_FE_H