blob: 21c2082a0dfbb3b1dec84125f9216d54accd4edf [file] [log] [blame]
Benjamin Herrenschmidtc6dbaef2006-11-11 17:18:39 +11001/*
2 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */
David Daney48e1fd52010-10-01 13:27:32 -07006#ifndef _ASM_MIPS_DEVICE_H
7#define _ASM_MIPS_DEVICE_H
8
9struct dma_map_ops;
10
11struct dev_archdata {
12 /* DMA operations on that device */
13 struct dma_map_ops *dma_ops;
Paul Burton20d33062016-10-05 18:18:16 +010014
15#ifdef CONFIG_DMA_PERDEV_COHERENT
16 /* Non-zero if DMA is coherent with CPU caches */
17 bool dma_coherent;
18#endif
David Daney48e1fd52010-10-01 13:27:32 -070019};
20
21struct pdev_archdata {
22};
23
24#endif /* _ASM_MIPS_DEVICE_H*/