diff options
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index aa6a23350..d0637d62c 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -197,6 +197,8 @@ static u32 debiread(av7110_t *av7110, u32 config, int addr, int count) /* DEBI during interrupt */ +/* fixme: val can be a pointer to a memory or an u32 value -- this + won't work on 64bit platforms! */ static inline void iwdebi(av7110_t *av7110, u32 config, int addr, u32 val, int count) { @@ -867,7 +869,7 @@ pes_play(void *dest, dvb_ringbuffer_t *buf, int dlen) (void)dvb_ringbuffer_read(buf,dest,(size_t)blen,0); - DEB_S(("pread=%08x, pwrite=%08x\n",buf->pread, buf->pwrite)); + DEB_S(("pread=0x%08lx, pwrite=0x%08lx\n",(unsigned long)buf->pread, (unsigned long)buf->pwrite)); wake_up(&buf->queue); return blen; } @@ -2168,7 +2170,7 @@ Set22K(av7110_t *av7110, int state) static -int SendDiSEqCMsg(av7110_t *av7110, int len, u8 *msg, int burst) +int SendDiSEqCMsg(av7110_t *av7110, int len, u8 *msg, unsigned long burst) { int i; u16 buf[18] = { ((COMTYPE_AUDIODAC << 8) + SendDiSEqC), @@ -3066,7 +3068,7 @@ static int dvb_get_stc(dmx_demux_t *demux, unsigned int num, (((uint64_t)fwstc[1]) << 16) | ((uint64_t)fwstc[0]); *base = 1; - DEB_EE(("av7110: stc = %llu\n", *stc)); + DEB_EE(("av7110: stc = %lu\n", (unsigned long)*stc)); return 0; } @@ -3105,7 +3107,7 @@ int av7110_diseqc_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg) } case FE_DISEQC_SEND_BURST: - SendDiSEqCMsg (av7110, 0, NULL, (int) arg); + SendDiSEqCMsg (av7110, 0, NULL, (unsigned long)arg); break; default: |