On Tue, Nov 06, 2007 at 02:33:53AM -0800, akpm@linux-foundation.org wrote:
[mmotm.git] / drivers / staging / tm6000 / hack.h
blob96f1b61df682b4324146f50b3d73c4c4a418be7b
1 /*
2 hack.h - hackish code that needs to be improved (or removed) at a
3 later point
5 Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com>
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 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
14 GNU General Public License for more details.
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.
21 #ifndef HACK_H
22 #define HACK_H
24 #include <linux/i2c.h>
26 #include "zl10353.h"
27 #include "dvb_frontend.h"
29 struct tm6000_core;
31 int pseudo_zl103530_init(struct dvb_frontend *fe);
33 int pseudo_zl10353_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_parameters *p);
35 int pseudo_zl10353_read_status(struct dvb_frontend *fe, fe_status_t *status);
37 int pseudo_zl10353_read_signal_strength(struct dvb_frontend* fe, u16* strength);
39 int pseudo_zl10353_read_snr(struct dvb_frontend *fe, u16 *snr);
41 struct dvb_frontend* pseudo_zl10353_attach(struct tm6000_core *dev,
42 const struct zl10353_config *config,
43 struct i2c_adapter *i2c);
45 #endif