summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bttv-risc.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-05-21 00:31:51 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-21 00:31:51 +0000
commit35a6b673534fe3039c886bfc46ee7b8b0cec5340 (patch)
tree3c9be0ce32d06b9e3b729f319e140f8ddb35e67d /linux/drivers/media/video/bt8xx/bttv-risc.c
parenta91cf2749c2195b9946d10c8b8ff4adb70aa7eb0 (diff)
downloadmediapointer-dvb-s2-35a6b673534fe3039c886bfc46ee7b8b0cec5340.tar.gz
mediapointer-dvb-s2-35a6b673534fe3039c886bfc46ee7b8b0cec5340.tar.bz2
annotate bcx_riscmem
From: Al Viro <viro@ftp.linux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bttv-risc.c')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-risc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-risc.c b/linux/drivers/media/video/bt8xx/bttv-risc.c
index a064f4ee9..a8c98e52c 100644
--- a/linux/drivers/media/video/bt8xx/bttv-risc.c
+++ b/linux/drivers/media/video/bt8xx/bttv-risc.c
@@ -48,7 +48,7 @@ bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc,
{
u32 instructions,line,todo;
struct scatterlist *sg;
- u32 *rp;
+ __le32 *rp;
int rc;
/* estimate risc mem: worst case is one write per page border +
@@ -128,7 +128,8 @@ bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc,
unsigned int cpadding)
{
unsigned int instructions,line,todo,ylen,chroma;
- u32 *rp,ri;
+ __le32 *rp;
+ u32 ri;
struct scatterlist *ysg;
struct scatterlist *usg;
struct scatterlist *vsg;
@@ -244,7 +245,8 @@ bttv_risc_overlay(struct bttv *btv, struct btcx_riscmem *risc,
{
int dwords,rc,line,maxy,start,end,skip,nskips;
struct btcx_skiplist *skips;
- u32 *rp,ri,ra;
+ __le32 *rp;
+ u32 ri,ra;
u32 addr;
/* skip list for window clipping */