Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  *  Driver for the Integrant ITD1000 "Zero-IF Tuner IC for Direct Broadcast Satellite"
0004  *
0005  *  Copyright (c) 2007 Patrick Boettcher <pb@linuxtv.org>
0006  */
0007 
0008 #ifndef ITD1000_H
0009 #define ITD1000_H
0010 
0011 struct dvb_frontend;
0012 struct i2c_adapter;
0013 
0014 struct itd1000_config {
0015     u8 i2c_address;
0016 };
0017 
0018 #if IS_REACHABLE(CONFIG_DVB_TUNER_ITD1000)
0019 extern struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg);
0020 #else
0021 static inline struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg)
0022 {
0023     printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
0024     return NULL;
0025 }
0026 #endif
0027 
0028 #endif