0001
0002
0003
0004
0005
0006
0007
0008 #ifndef DVB_DUMMY_FE_H
0009 #define DVB_DUMMY_FE_H
0010
0011 #include <linux/dvb/frontend.h>
0012 #include <media/dvb_frontend.h>
0013
0014 #if IS_REACHABLE(CONFIG_DVB_DUMMY_FE)
0015 struct dvb_frontend *dvb_dummy_fe_ofdm_attach(void);
0016 struct dvb_frontend *dvb_dummy_fe_qpsk_attach(void);
0017 struct dvb_frontend *dvb_dummy_fe_qam_attach(void);
0018 #else
0019 static inline struct dvb_frontend *dvb_dummy_fe_ofdm_attach(void)
0020 {
0021 pr_warn("%s: driver disabled by Kconfig\n", __func__);
0022 return NULL;
0023 }
0024 static inline struct dvb_frontend *dvb_dummy_fe_qpsk_attach(void)
0025 {
0026 pr_warn("%s: driver disabled by Kconfig\n", __func__);
0027 return NULL;
0028 }
0029 static inline struct dvb_frontend *dvb_dummy_fe_qam_attach(void)
0030 {
0031 pr_warn("%s: driver disabled by Kconfig\n", __func__);
0032 return NULL;
0033 }
0034 #endif
0035
0036 #endif