};
static void *arm_exynos_dma_mcode_alloc(struct device *dev, size_t size,
- dma_addr_t *handle, gfp_t gfp, struct dma_attrs *attrs);
+ dma_addr_t *handle, gfp_t gfp, unsigned long attrs);
static void arm_exynos_dma_mcode_free(struct device *dev, size_t size, void *cpu_addr,
- dma_addr_t handle, struct dma_attrs *attrs);
+ dma_addr_t handle, unsigned long attrs);
struct dma_map_ops arm_exynos_dma_mcode_ops = {
.alloc = arm_exynos_dma_mcode_alloc,
EXPORT_SYMBOL(arm_exynos_dma_mcode_ops);
static void *arm_exynos_dma_mcode_alloc(struct device *dev, size_t size,
- dma_addr_t *handle, gfp_t gfp, struct dma_attrs *attrs)
+ dma_addr_t *handle, gfp_t gfp, unsigned long attrs)
{
void *addr;
}
static void arm_exynos_dma_mcode_free(struct device *dev, size_t size, void *cpu_addr,
- dma_addr_t handle, struct dma_attrs *attrs)
+ dma_addr_t handle, unsigned long attrs)
{
iounmap(cpu_addr);
}