GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / media / dvb / frontends / tda665x.h
blob74a577f3a90dcc87ce236379c560c85eaa555a02
1 /*
2 TDA665x tuner driver
3 Copyright (C) Manu Abraham (abraham.manu@gmail.com)
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef __TDA665x_H
21 #define __TDA665x_H
23 struct tda665x_config {
24 char name[128];
26 u8 addr;
27 u32 frequency_min;
28 u32 frequency_max;
29 u32 frequency_offst;
30 u32 ref_multiplier;
31 u32 ref_divider;
34 #if defined(CONFIG_DVB_TDA665x) || (defined(CONFIG_DVB_TDA665x_MODULE) && \
35 defined(MODULE))
37 extern struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe,
38 const struct tda665x_config *config,
39 struct i2c_adapter *i2c);
41 #else
43 static inline struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe,
44 const struct tda665x_config *config,
45 struct i2c_adapter *i2c)
47 printk(KERN_WARNING "%s: Driver disabled by Kconfig\n", __func__);
48 return NULL;
51 #endif /* CONFIG_DVB_TDA665x */
53 #endif /* __TDA665x_H */