blob: 289653db68e40857832f8ac7b257461ecfa9b62f [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +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