mn10300: move sg_dma_{address,len}() to asm/scatterlist.h
authorAdrian Bunk <bunk@kernel.org>
Thu, 24 Jul 2008 04:28:45 +0000 (21:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:24 +0000 (10:47 -0700)
commit912019572180f287e85b5534fbb1c1e3ca6df6c9
tree2ce7306f6588408c6ee3b7258709e18dc8ec85fa
parentf0af566da6e9a4a2f5a83c5a70f3d0a772050e21
mn10300: move sg_dma_{address,len}() to asm/scatterlist.h

mn10300 was the only architecture 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:

/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'

Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-mn10300/pci.h
include/asm-mn10300/scatterlist.h