summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-xc2028.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-04 14:31:12 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-11-04 14:31:12 -0200
commit87a688a17ae8f82d48dd8833ed0eb29ecba1183c (patch)
treec65044f2d92ddab4fdb8d56bfda831307bde74a8 /linux/drivers/media/video/tuner-xc2028.h
parent09569d7cdf845441f5d37be1a42c1ef0fe84a61d (diff)
parent1dbbdee4213114f49f8fe0d92a6daeba5c6f639f (diff)
downloadmediapointer-dvb-s2-87a688a17ae8f82d48dd8833ed0eb29ecba1183c.tar.gz
mediapointer-dvb-s2-87a688a17ae8f82d48dd8833ed0eb29ecba1183c.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/tda8295
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/tuner-xc2028.h')
-rw-r--r--linux/drivers/media/video/tuner-xc2028.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.h b/linux/drivers/media/video/tuner-xc2028.h
index f4856f07b..e04611e65 100644
--- a/linux/drivers/media/video/tuner-xc2028.h
+++ b/linux/drivers/media/video/tuner-xc2028.h
@@ -19,6 +19,7 @@ enum xc2028_firm_type {
struct xc2028_ctrl {
enum xc2028_firm_type type;
char *fname;
+ int max_len;
};
/* xc2028 commands for callback */
@@ -26,15 +27,17 @@ struct xc2028_ctrl {
#define XC2028_RESET_CLK 1
#if defined(CONFIG_TUNER_XC2028) || (defined(CONFIG_TUNER_XC2028_MODULE) && defined(MODULE))
-int xc2028_attach(struct dvb_frontend *fe, struct i2c_adapter* i2c_adap,
+int xc2028_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c_adap,
u8 i2c_addr, struct device *dev, void *video_dev,
- int (*tuner_callback) (void *dev, int command,int arg));
+ int (*tuner_callback) (void *dev, int command, int arg));
#else
static inline int xc2028_attach(struct dvb_frontend *fe,
- struct i2c_adapter* i2c_adap,
- u8 i2c_addr, struct device *dev, void *video_dev,
- int (*tuner_callback) (void *dev, int command,int arg))
+ struct i2c_adapter *i2c_adap,
+ u8 i2c_addr, struct device *dev,
+ void *video_dev,
+ int (*tuner_callback) (void *dev, int command,
+ int arg))
{
printk(KERN_INFO "%s: not probed - driver disabled by Kconfig\n",
__FUNCTION__);