Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Driver for the ST STV6111 tuner
0004  *
0005  * Copyright (C) 2014 Digital Devices GmbH
0006  */
0007 
0008 #ifndef _STV6111_H_
0009 #define _STV6111_H_
0010 
0011 #if IS_REACHABLE(CONFIG_DVB_STV6111)
0012 
0013 struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
0014                     struct i2c_adapter *i2c, u8 adr);
0015 
0016 #else
0017 
0018 static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe,
0019                           struct i2c_adapter *i2c,
0020                           u8 adr)
0021 {
0022     pr_warn("%s: Driver disabled by Kconfig\n", __func__);
0023     return NULL;
0024 }
0025 
0026 #endif /* CONFIG_DVB_STV6111 */
0027 
0028 #endif /* _STV6111_H_ */