summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMichael Krufky2007-05-30 03:54:06 +0200
committerMauro Carvalho Chehab2007-07-18 19:23:48 +0200
commitb208319993ceff7ebfcc6bb914fe94d29e48a891 (patch)
tree0a0697806b221c7711914dbdfe2bd3972c206b23 /include/media
parentV4L/DVB (5718): Mt20xx: whitespace cleanup (diff)
downloadkernel-qcow2-linux-b208319993ceff7ebfcc6bb914fe94d29e48a891.tar.gz
kernel-qcow2-linux-b208319993ceff7ebfcc6bb914fe94d29e48a891.tar.xz
kernel-qcow2-linux-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')
-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);