Re: [2.6 patch] mn10300: move sg_dma_{address,len}() to asm/scatterlist.h

From: David Howells
Date: Fri Jun 13 2008 - 08:05:49 EST


Adrian Bunk <bunk@xxxxxxxxxx> wrote:

> mn10300 was the only archotecture where sg_dma_{address,len}() were not
> in asm/scatterlist.h, and it's not a big surprise that this caused a
> compile error somewhere:
>
> <-- snip -->
>
> ..
> CC drivers/media/video/videobuf-dma-sg.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/videobuf-dma-sg.c: In function `videobuf_dma_map':
> /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/videobuf-dma-sg.c:238: error: implicit declaration of function 'sg_dma_address'
> ...
> make[4]: *** [drivers/media/video/videobuf-dma-sg.o] Error 1
>
> <-- snip -->
>
> Reported-by: Adrian Bunk <bunk@xxxxxxxxxx>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

Acked-by: David Howells <dhowells@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/