summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bttv-risc.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-03 14:51:08 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-03 14:51:08 -0300
commitb0c4835ca205296ee6352bbe885582e2c546e2ce (patch)
tree44b80aaeb882ec990e143c72472e45b0f1a82cb4 /linux/drivers/media/video/bt8xx/bttv-risc.c
parente92f78bc63e71d1572225b93b4ea0c31e6e6efc0 (diff)
parentaec12fb2da90fde6ec9056cec90f9a65a8b02305 (diff)
downloadmediapointer-dvb-s2-b0c4835ca205296ee6352bbe885582e2c546e2ce.tar.gz
mediapointer-dvb-s2-b0c4835ca205296ee6352bbe885582e2c546e2ce.tar.bz2
apply backout changeset
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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 */