]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/btcx-risc.c
V4L/DVB (8880): PATCH: Fix parents on some webcam drivers
[linux-2.6-omap-h63xx.git] / drivers / media / video / btcx-risc.c
index ce0840ccd594e42332767d7d0b87bc4e4cbdc4d5..3324ab38f58c3b395f617e00c9a9c4bd957ff820 100644 (file)
@@ -63,7 +63,7 @@ int btcx_riscmem_alloc(struct pci_dev *pci,
                       struct btcx_riscmem *risc,
                       unsigned int size)
 {
-       u32 *cpu;
+       __le32 *cpu;
        dma_addr_t dma;
 
        if (NULL != risc->cpu && risc->size < size)
@@ -184,12 +184,12 @@ btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips)
 }
 
 void
-btcx_calc_skips(int line, int width, unsigned int *maxy,
+btcx_calc_skips(int line, int width, int *maxy,
                struct btcx_skiplist *skips, unsigned int *nskips,
                const struct v4l2_clip *clips, unsigned int nclips)
 {
        unsigned int clip,skip;
-       int end,maxline;
+       int end, maxline;
 
        skip=0;
        maxline = 9999;