summaryrefslogtreecommitdiff
path: root/include/media/tuner.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-05-29 22:54:06 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 14:23:48 -0300
commitb208319993ceff7ebfcc6bb914fe94d29e48a891 (patch)
tree0a0697806b221c7711914dbdfe2bd3972c206b23 /include/media/tuner.h
parent56584c9ea9a6dcd672f97ebfeebc4903e8b903bc (diff)
downloadlwn-b208319993ceff7ebfcc6bb914fe94d29e48a891.tar.gz
lwn-b208319993ceff7ebfcc6bb914fe94d29e48a891.zip
V4L/DVB (5719): Tuner: Move device-specific private data out of tuner struct
Create private data struct for device specific private data. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/tuner.h')
-rw-r--r--include/media/tuner.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h
index 7861babd4c90..b901373c6e10 100644
--- a/include/media/tuner.h
+++ b/include/media/tuner.h
@@ -199,21 +199,10 @@ struct tuner {
v4l2_std_id std;
int using_v4l2;
+ void *priv;
/* used by tda9887 */
unsigned int tda9887_config;
- unsigned char tda9887_data[4];
-
- /* used by MT2032 */
- unsigned int xogc;
- unsigned int radio_if2;
-
- /* used by tda8290 */
- unsigned char tda8290_easy_mode;
- unsigned char tda827x_lpsel;
- unsigned char tda827x_addr;
- unsigned char tda827x_ver;
- unsigned int sgIF;
unsigned int config;
int (*tuner_callback) (void *dev, int command,int arg);