aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-16 14:28:21 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:02:15 -0500
commitef8c1888b32132ae48553a8ce00d5858ec3e9b51 (patch)
treecb6177d1e736ef5078f6d051cdbfe530e01546bb /drivers/media/video/tuner-xc2028.c
parent2d4c0ac60dbcdee83da5bdebc661c2c145938d8a (diff)
V4L/DVB (6614): Fix driver for i386 architectures
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-xc2028.c')
-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 @@
22#include <linux/dvb/frontend.h> 22#include <linux/dvb/frontend.h>
23#include "dvb_frontend.h" 23#include "dvb_frontend.h"
24 24
25
25#define PREFIX "xc2028" 26#define PREFIX "xc2028"
26 27
27static int debug; 28static int debug;
@@ -193,7 +194,7 @@ void dump_firm_type(unsigned int type)
193 printk("SCODE "); 194 printk("SCODE ");
194} 195}
195 196
196static v4l2_std_id parse_audio_std_option(void) 197static v4l2_std_id parse_audio_std_option(void)
197{ 198{
198 if (strcasecmp(audio_std, "A2")) 199 if (strcasecmp(audio_std, "A2"))
199 return V4L2_STD_A2; 200 return V4L2_STD_A2;
@@ -317,9 +318,10 @@ static int load_all_firmwares(struct dvb_frontend *fe)
317 if ((!size) || (size + p > endp)) { 318 if ((!size) || (size + p > endp)) {
318 tuner_err("Firmware type "); 319 tuner_err("Firmware type ");
319 dump_firm_type(type); 320 dump_firm_type(type);
320 printk("(%x), id %lx is corrupted " 321 printk("(%x), id %llx is corrupted "
321 "(size=%ld, expected %d)\n", 322 "(size=%d, expected %d)\n",
322 type, (unsigned long)id, endp - p, size); 323 type, id,
324 (unsigned)(endp - p), size);
323 goto corrupt; 325 goto corrupt;
324 } 326 }
325 327