dma-mapping: turn dma_cache_sync into a dma_map_ops method
[linux-2.6-block.git] / arch / mn10300 / include / asm / dma-mapping.h
CommitLineData
b920de1b
DH
1/* DMA mapping routines for the MN10300 arch
2 *
3 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
10 */
11#ifndef _ASM_DMA_MAPPING_H
12#define _ASM_DMA_MAPPING_H
13
5299709d 14extern const struct dma_map_ops mn10300_dma_ops;
b920de1b 15
815dd187 16static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
b920de1b 17{
f151341c 18 return &mn10300_dma_ops;
b920de1b
DH
19}
20
b920de1b 21#endif