1
0
Fork 0
alistair23-linux/arch/metag/include/asm
James Hogan c60ac31542 metag: Provide dma_get_sgtable()
metag/allmodconfig:

drivers/media/v4l2-core/videobuf2-dma-contig.c: In function 'vb2_dc_get_base_sgt':
drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit declaration of function 'dma_get_sgtable'

For architectures using dma_map_ops, dma_get_sgtable() is provided in
<asm-generic/dma-mapping-common.h>.

Metag does not use dma_map_ops yet, hence it should implement it as an
inline stub using dma_common_get_sgtable().

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
2013-03-02 20:11:17 +00:00
..
mach metag: Time keeping 2013-03-02 20:09:22 +00:00
Kbuild metag: ftrace support 2013-03-02 20:09:55 +00:00
atomic.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
atomic_lnkget.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
atomic_lock1.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
barrier.h metag: Various other headers 2013-03-02 20:09:52 +00:00
bitops.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
bug.h metag: Various other headers 2013-03-02 20:09:52 +00:00
cache.h metag: Cache/TLB handling 2013-03-02 20:09:19 +00:00
cacheflush.h metag: Cache/TLB handling 2013-03-02 20:09:19 +00:00
cachepart.h metag: SMP support 2013-03-02 20:09:51 +00:00
checksum.h metag: Optimised library functions 2013-03-02 20:09:52 +00:00
clock.h metag: Time keeping 2013-03-02 20:09:22 +00:00
cmpxchg.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
cmpxchg_irq.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
cmpxchg_lnkget.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
cmpxchg_lock1.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
core_reg.h metag: SMP support 2013-03-02 20:09:51 +00:00
cpu.h metag: Various other headers 2013-03-02 20:09:52 +00:00
da.h metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
delay.h metag: Time keeping 2013-03-02 20:09:22 +00:00
div64.h metag: Optimised library functions 2013-03-02 20:09:52 +00:00
dma-mapping.h metag: Provide dma_get_sgtable() 2013-03-02 20:11:17 +00:00
elf.h metag: Various other headers 2013-03-02 20:09:52 +00:00
fixmap.h metag: Highmem support 2013-03-02 20:09:20 +00:00
ftrace.h metag: ftrace support 2013-03-02 20:09:55 +00:00
global_lock.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
gpio.h metag: Various other headers 2013-03-02 20:09:52 +00:00
highmem.h metag: Highmem support 2013-03-02 20:09:20 +00:00
hugetlb.h metag: Huge TLB 2013-03-02 20:09:20 +00:00
hwthread.h metag: Various other headers 2013-03-02 20:09:52 +00:00
io.h metag: Memory handling 2013-03-02 20:09:19 +00:00
irq.h metag: IRQ handling 2013-03-02 20:09:48 +00:00
irqflags.h metag: move irq enable out of irqflags.h on SMP 2013-03-02 20:11:14 +00:00
l2cache.h metag: Cache/TLB handling 2013-03-02 20:09:19 +00:00
linkage.h metag: Various other headers 2013-03-02 20:09:52 +00:00
metag_isa.h metag: Headers for core arch constants 2013-03-02 20:09:16 +00:00
metag_mem.h metag: Header for core memory mapped registers 2013-03-02 20:09:17 +00:00
metag_regs.h metag: make TXPRIVEXT bits explicit 2013-03-02 20:09:58 +00:00
mman.h metag: System Calls 2013-03-02 20:09:49 +00:00
mmu.h metag: Memory management 2013-03-02 20:09:19 +00:00
mmu_context.h metag: Memory management 2013-03-02 20:09:19 +00:00
mmzone.h metag: TCM support 2013-03-02 20:09:21 +00:00
module.h metag: Module support 2013-03-02 20:09:49 +00:00
page.h metag: Memory management 2013-03-02 20:09:19 +00:00
perf_event.h metag: Perf 2013-03-02 20:09:54 +00:00
pgalloc.h metag: Memory management 2013-03-02 20:09:19 +00:00
pgtable.h metag: Memory management 2013-03-02 20:09:19 +00:00
processor.h metag: protect more non-MMU memory regions 2013-03-02 20:09:58 +00:00
prom.h metag: prom.h: remove declaration of metag_dt_memblock_reserve() 2013-03-02 20:11:17 +00:00
ptrace.h metag: ptrace 2013-03-02 20:09:22 +00:00
setup.h metag: Boot 2013-03-02 20:09:17 +00:00
smp.h metag: SMP support 2013-03-02 20:09:51 +00:00
sparsemem.h metag: TCM support 2013-03-02 20:09:21 +00:00
spinlock.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
spinlock_lnkget.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
spinlock_lock1.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
spinlock_types.h metag: Atomics, locks and bitops 2013-03-02 20:09:50 +00:00
stacktrace.h metag: Stack unwinding 2013-03-02 20:09:52 +00:00
string.h metag: Optimised library functions 2013-03-02 20:09:52 +00:00
switch.h metag: Traps 2013-03-02 20:09:45 +00:00
syscall.h metag: System Calls 2013-03-02 20:09:49 +00:00
syscalls.h metag: System Calls 2013-03-02 20:09:49 +00:00
tbx.h metag: TBX header 2013-03-02 20:09:18 +00:00
tcm.h metag: TCM support 2013-03-02 20:09:21 +00:00
thread_info.h metag: Scheduling/Process management 2013-03-02 20:09:49 +00:00
tlb.h metag: Cache/TLB handling 2013-03-02 20:09:19 +00:00
tlbflush.h metag: Cache/TLB handling 2013-03-02 20:09:19 +00:00
topology.h metag: SMP support 2013-03-02 20:09:51 +00:00
traps.h metag: Traps 2013-03-02 20:09:45 +00:00
uaccess.h metag: Memory handling 2013-03-02 20:09:19 +00:00
unistd.h metag: System Calls 2013-03-02 20:09:49 +00:00
user_gateway.h metag: System Calls 2013-03-02 20:09:49 +00:00