aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/xc5000.h
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-01-05 15:08:05 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:05:07 -0500
commit73c993a8294077ae1b724286da8ac323c25d90db (patch)
tree47a44433e6c1c2e3d4ba4fd5d557adb321a094e1 /drivers/media/dvb/frontends/xc5000.h
parent8c70017f5793e68ea48085a65008d713c9a85dde (diff)
V4L/DVB (7045): xc5000: Small amount of cleanup and commenting
xc5000: Small amount of cleanup and commenting, just for clarification. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/xc5000.h')
-rw-r--r--drivers/media/dvb/frontends/xc5000.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/xc5000.h b/drivers/media/dvb/frontends/xc5000.h
index 85b2d438fa41..e0e84562aed1 100644
--- a/drivers/media/dvb/frontends/xc5000.h
+++ b/drivers/media/dvb/frontends/xc5000.h
@@ -30,8 +30,16 @@ struct i2c_adapter;
30struct xc5000_config { 30struct xc5000_config {
31 u8 i2c_address; 31 u8 i2c_address;
32 u32 if_khz; 32 u32 if_khz;
33 void *video_dev; 33
34 int (*tuner_callback) (void *dev, int command, int arg); 34 /* For each bridge framework, when it attaches either analog or digital,
35 * it has to store a reference back to its _core equivalent structure,
36 * so that it can service the hardware by steering gpio's etc.
37 * Each bridge implementation is different so cast priv accordingly.
38 * The xc5000 driver cares not for this value, other than ensuring
39 * it's passed back to a bridge during tuner_callback().
40 */
41 void *priv;
42 int (*tuner_callback) (void *priv, int command, int arg);
35}; 43};
36 44
37/* xc5000 callback command */ 45/* xc5000 callback command */