mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 21:35:13 +07:00
420c0117db
In order to remove the specific knowledge of the dma mapping from PXA drivers, add a default slave map for pxa architectures. This won't impact MMP architecture, but is aimed only at all PXA boards. This is the first step, and once all drivers are converted, pxad_filter_fn() will be made static, and the DMA resources removed from device.c. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Reported-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Vinod Koul <vkoul@kernel.org>
25 lines
502 B
C
25 lines
502 B
C
/*
|
|
* MMP Platform DMA Management
|
|
*
|
|
* Copyright (c) 2011 Marvell Semiconductors Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
*/
|
|
|
|
#ifndef MMP_DMA_H
|
|
#define MMP_DMA_H
|
|
|
|
struct dma_slave_map;
|
|
|
|
struct mmp_dma_platdata {
|
|
int dma_channels;
|
|
int nb_requestors;
|
|
int slave_map_cnt;
|
|
const struct dma_slave_map *slave_map;
|
|
};
|
|
|
|
#endif /* MMP_DMA_H */
|