blob: afeb9536e9c92110ae774bf2bb9cd2e70e7fe814 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001/* 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#else
9static 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#endif
16
17#endif