[media] tua9001: use regmap for I2C register access
[linux-2.6-microblaze.git] / drivers / media / tuners / tua9001_priv.h
1 /*
2  * Infineon TUA9001 silicon tuner driver
3  *
4  * Copyright (C) 2009 Antti Palosaari <crope@iki.fi>
5  *
6  *    This program is free software; you can redistribute it and/or modify
7  *    it under the terms of the GNU General Public License as published by
8  *    the Free Software Foundation; either version 2 of the License, or
9  *    (at your option) any later version.
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
17 #ifndef TUA9001_PRIV_H
18 #define TUA9001_PRIV_H
19
20 #include "tua9001.h"
21 #include <linux/regmap.h>
22
23 struct tua9001_reg_val {
24         u8 reg;
25         u16 val;
26 };
27
28 struct tua9001_dev {
29         struct dvb_frontend *fe;
30         struct i2c_client *client;
31         struct regmap *regmap;
32 };
33
34 #endif