diff options
Diffstat (limited to 'drivers/media/dvb/frontends/zl10036.h')
-rw-r--r-- | drivers/media/dvb/frontends/zl10036.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/drivers/media/dvb/frontends/zl10036.h b/drivers/media/dvb/frontends/zl10036.h deleted file mode 100644 index d84b8f8215e9..000000000000 --- a/drivers/media/dvb/frontends/zl10036.h +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | /** | ||
2 | * Driver for Zarlink ZL10036 DVB-S silicon tuner | ||
3 | * | ||
4 | * Copyright (C) 2006 Tino Reichardt | ||
5 | * Copyright (C) 2007-2009 Matthias Schwarzott <zzam@gentoo.de> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License Version 2, as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
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 | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
19 | */ | ||
20 | |||
21 | #ifndef DVB_ZL10036_H | ||
22 | #define DVB_ZL10036_H | ||
23 | |||
24 | #include <linux/i2c.h> | ||
25 | #include "dvb_frontend.h" | ||
26 | |||
27 | /** | ||
28 | * Attach a zl10036 tuner to the supplied frontend structure. | ||
29 | * | ||
30 | * @param fe Frontend to attach to. | ||
31 | * @param config zl10036_config structure | ||
32 | * @return FE pointer on success, NULL on failure. | ||
33 | */ | ||
34 | |||
35 | struct zl10036_config { | ||
36 | u8 tuner_address; | ||
37 | int rf_loop_enable; | ||
38 | }; | ||
39 | |||
40 | #if defined(CONFIG_DVB_ZL10036) || \ | ||
41 | (defined(CONFIG_DVB_ZL10036_MODULE) && defined(MODULE)) | ||
42 | extern struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe, | ||
43 | const struct zl10036_config *config, struct i2c_adapter *i2c); | ||
44 | #else | ||
45 | static inline struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe, | ||
46 | const struct zl10036_config *config, struct i2c_adapter *i2c) | ||
47 | { | ||
48 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); | ||
49 | return NULL; | ||
50 | } | ||
51 | #endif | ||
52 | |||
53 | #endif /* DVB_ZL10036_H */ | ||