29 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * Driver for the ST STV6111 tuner4 *5 * Copyright (C) 2014 Digital Devices GmbH6 */7 8#ifndef _STV6111_H_9#define _STV6111_H_10 11#if IS_REACHABLE(CONFIG_DVB_STV6111)12 13struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,14 struct i2c_adapter *i2c, u8 adr);15 16#else17 18static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,19 struct i2c_adapter *i2c,20 u8 adr)21{22 pr_warn("%s: Driver disabled by Kconfig\n", __func__);23 return NULL;24}25 26#endif /* CONFIG_DVB_STV6111 */27 28#endif /* _STV6111_H_ */29