Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003     Driver for Zarlink ZL10039 DVB-S tuner
0004 
0005     Copyright (C) 2007 Jan D. Louw <jd.louw@mweb.co.za>
0006 
0007 */
0008 
0009 #ifndef ZL10039_H
0010 #define ZL10039_H
0011 
0012 #if IS_REACHABLE(CONFIG_DVB_ZL10039)
0013 struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
0014                     u8 i2c_addr,
0015                     struct i2c_adapter *i2c);
0016 #else
0017 static inline struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
0018                     u8 i2c_addr,
0019                     struct i2c_adapter *i2c)
0020 {
0021     printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0022     return NULL;
0023 }
0024 #endif /* CONFIG_DVB_ZL10039 */
0025 
0026 #endif /* ZL10039_H */