1*c942fddfSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */ 29a0bf528SMauro Carvalho Chehab /* 39a0bf528SMauro Carvalho Chehab * Driver for the Integrant ITD1000 "Zero-IF Tuner IC for Direct Broadcast Satellite" 49a0bf528SMauro Carvalho Chehab * 59a0bf528SMauro Carvalho Chehab * Copyright (c) 2007 Patrick Boettcher <pb@linuxtv.org> 69a0bf528SMauro Carvalho Chehab */ 79a0bf528SMauro Carvalho Chehab 89a0bf528SMauro Carvalho Chehab #ifndef ITD1000_H 99a0bf528SMauro Carvalho Chehab #define ITD1000_H 109a0bf528SMauro Carvalho Chehab 119a0bf528SMauro Carvalho Chehab struct dvb_frontend; 129a0bf528SMauro Carvalho Chehab struct i2c_adapter; 139a0bf528SMauro Carvalho Chehab 149a0bf528SMauro Carvalho Chehab struct itd1000_config { 159a0bf528SMauro Carvalho Chehab u8 i2c_address; 169a0bf528SMauro Carvalho Chehab }; 179a0bf528SMauro Carvalho Chehab 189b174527SArnd Bergmann #if IS_REACHABLE(CONFIG_DVB_TUNER_ITD1000) 199a0bf528SMauro Carvalho Chehab extern struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg); 209a0bf528SMauro Carvalho Chehab #else itd1000_attach(struct dvb_frontend * fe,struct i2c_adapter * i2c,struct itd1000_config * cfg)219a0bf528SMauro Carvalho Chehabstatic inline struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg) 229a0bf528SMauro Carvalho Chehab { 239a0bf528SMauro Carvalho Chehab printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 249a0bf528SMauro Carvalho Chehab return NULL; 259a0bf528SMauro Carvalho Chehab } 269a0bf528SMauro Carvalho Chehab #endif 279a0bf528SMauro Carvalho Chehab 289a0bf528SMauro Carvalho Chehab #endif 29