summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/xc5000.h
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-01-05 15:08:05 -0500
committerSteven Toth <stoth@hauppauge.com>2008-01-05 15:08:05 -0500
commit88ad51b6cd401849a446a4d1bcba232055a6923f (patch)
treedb5a5b62dc5bbe4d4ff452790dbfc074b7cf497f /linux/drivers/media/dvb/frontends/xc5000.h
parent5240604a62cc6c8206ed6bf09646c574bdf9b54c (diff)
downloadmediapointer-dvb-s2-88ad51b6cd401849a446a4d1bcba232055a6923f.tar.gz
mediapointer-dvb-s2-88ad51b6cd401849a446a4d1bcba232055a6923f.tar.bz2
xc5000: Small amount of cleanup and commenting.
From: Steven Toth <stoth@hauppauge.com> xc5000: Small amount of cleanup and commenting, just for clarification. Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/xc5000.h')
-rw-r--r--linux/drivers/media/dvb/frontends/xc5000.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/xc5000.h b/linux/drivers/media/dvb/frontends/xc5000.h
index 85b2d438f..e0e84562a 100644
--- a/linux/drivers/media/dvb/frontends/xc5000.h
+++ b/linux/drivers/media/dvb/frontends/xc5000.h
@@ -30,8 +30,16 @@ struct i2c_adapter;
struct xc5000_config {
u8 i2c_address;
u32 if_khz;
- void *video_dev;
- int (*tuner_callback) (void *dev, int command, int arg);
+
+ /* For each bridge framework, when it attaches either analog or digital,
+ * it has to store a reference back to its _core equivalent structure,
+ * so that it can service the hardware by steering gpio's etc.
+ * Each bridge implementation is different so cast priv accordingly.
+ * The xc5000 driver cares not for this value, other than ensuring
+ * it's passed back to a bridge during tuner_callback().
+ */
+ void *priv;
+ int (*tuner_callback) (void *priv, int command, int arg);
};
/* xc5000 callback command */