blob: 123b2fe72d01f93a82076a87548e1050bead7d07 [file] [log] [blame]
Michal Simek0a7d8002009-03-27 14:25:44 +01001/*
2 * Arch specific extensions to struct device
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License v2. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 */
8
9#ifndef _ASM_MICROBLAZE_DEVICE_H
10#define _ASM_MICROBLAZE_DEVICE_H
11
12struct device_node;
13
14struct dev_archdata {
Michal Simekccfe27d2010-01-14 11:21:02 +010015 /* DMA operations on that device */
16 struct dma_map_ops *dma_ops;
17 void *dma_data;
Michal Simek0a7d8002009-03-27 14:25:44 +010018};
19
Magnus Dammd7aacad2009-07-08 13:21:31 +020020struct pdev_archdata {
Grant Likely173b3a72010-04-13 16:13:00 -070021 u64 dma_mask;
Magnus Dammd7aacad2009-07-08 13:21:31 +020022};
23
Michal Simek0a7d8002009-03-27 14:25:44 +010024#endif /* _ASM_MICROBLAZE_DEVICE_H */
25
26