18 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef _TDA18271C2DD_H_3#define _TDA18271C2DD_H_4 5#if IS_REACHABLE(CONFIG_DVB_TDA18271C2DD)6struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,7 struct i2c_adapter *i2c, u8 adr);8#else9static inline struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,10 struct i2c_adapter *i2c, u8 adr)11{12 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);13 return NULL;14}15#endif16 17#endif18