4 * Copyright (C) 2009 Mauro Carvalho Chehab
5 * Copyright (C) 2009 Douglas Landgraf <dougsland@redhat.com>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation version 2.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
20 #include <linux/dvb/frontend.h>
23 /* the demodulator's i2c address */
27 #if IS_REACHABLE(CONFIG_DVB_S921)
28 extern struct dvb_frontend *s921_attach(const struct s921_config *config,
29 struct i2c_adapter *i2c);
30 extern struct i2c_adapter *s921_get_tuner_i2c_adapter(struct dvb_frontend *);
32 static inline struct dvb_frontend *s921_attach(
33 const struct s921_config *config, struct i2c_adapter *i2c)
35 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
38 static inline struct i2c_adapter *
39 s921_get_tuner_i2c_adapter(struct dvb_frontend *fe)
41 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);