Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / media / dvb-frontends / tda18271c2dd.h
blobafeb9536e9c92110ae774bf2bb9cd2e70e7fe814
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _TDA18271C2DD_H_
3 #define _TDA18271C2DD_H_
5 #if IS_REACHABLE(CONFIG_DVB_TDA18271C2DD)
6 struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
7 struct i2c_adapter *i2c, u8 adr);
8 #else
9 static inline struct dvb_frontend *tda18271c2dd_attach(struct dvb_frontend *fe,
10 struct i2c_adapter *i2c, u8 adr)
12 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
13 return NULL;
15 #endif
17 #endif