aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-16 16:28:21 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:02:15 -0200
commitef8c1888b32132ae48553a8ce00d5858ec3e9b51 (patch)
treecb6177d1e736ef5078f6d051cdbfe530e01546bb /drivers/media/video/tuner-xc2028.c
parentV4L/DVB (6613): Fix: add a missing continue statement (diff)
downloadlinux-dev-ef8c1888b32132ae48553a8ce00d5858ec3e9b51.tar.xz
linux-dev-ef8c1888b32132ae48553a8ce00d5858ec3e9b51.zip
V4L/DVB (6614): Fix driver for i386 architectures
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to '')
-rw-r--r--drivers/media/video/tuner-xc2028.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index 748f9ad08b88..d23b33a1f696 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -22,6 +22,7 @@
#include <linux/dvb/frontend.h>
#include "dvb_frontend.h"
+
#define PREFIX "xc2028"
static int debug;
@@ -193,7 +194,7 @@ void dump_firm_type(unsigned int type)
printk("SCODE ");
}
-static v4l2_std_id parse_audio_std_option(void)
+static v4l2_std_id parse_audio_std_option(void)
{
if (strcasecmp(audio_std, "A2"))
return V4L2_STD_A2;
@@ -317,9 +318,10 @@ static int load_all_firmwares(struct dvb_frontend *fe)
if ((!size) || (size + p > endp)) {
tuner_err("Firmware type ");
dump_firm_type(type);
- printk("(%x), id %lx is corrupted "
- "(size=%ld, expected %d)\n",
- type, (unsigned long)id, endp - p, size);
+ printk("(%x), id %llx is corrupted "
+ "(size=%d, expected %d)\n",
+ type, id,
+ (unsigned)(endp - p), size);
goto corrupt;
}