Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / dvb-frontends / itd1000.h
blob3539c69ce20a8d2b69a8ace4689c39fb6d921f21
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Driver for the Integrant ITD1000 "Zero-IF Tuner IC for Direct Broadcast Satellite"
5 * Copyright (c) 2007 Patrick Boettcher <pb@linuxtv.org>
6 */
8 #ifndef ITD1000_H
9 #define ITD1000_H
11 struct dvb_frontend;
12 struct i2c_adapter;
14 struct itd1000_config {
15 u8 i2c_address;
18 #if IS_REACHABLE(CONFIG_DVB_TUNER_ITD1000)
19 extern struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg);
20 #else
21 static inline struct dvb_frontend *itd1000_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct itd1000_config *cfg)
23 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
24 return NULL;
26 #endif
28 #endif