diff options
| author | Meizu OpenSource <patchwork@meizu.com> | 2016-08-15 10:19:42 +0800 |
|---|---|---|
| committer | Meizu OpenSource <patchwork@meizu.com> | 2016-08-15 10:19:42 +0800 |
| commit | d2e1446d81725c351dc73a03b397ce043fb18452 (patch) | |
| tree | 4dbc616b7f92aea39cd697a9084205ddb805e344 /arch/microblaze/include/asm/device.h | |
first commit
Diffstat (limited to 'arch/microblaze/include/asm/device.h')
| -rw-r--r-- | arch/microblaze/include/asm/device.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/device.h b/arch/microblaze/include/asm/device.h new file mode 100644 index 000000000..123b2fe72 --- /dev/null +++ b/arch/microblaze/include/asm/device.h @@ -0,0 +1,26 @@ +/* + * Arch specific extensions to struct device + * + * This file is subject to the terms and conditions of the GNU General Public + * License v2. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _ASM_MICROBLAZE_DEVICE_H +#define _ASM_MICROBLAZE_DEVICE_H + +struct device_node; + +struct dev_archdata { + /* DMA operations on that device */ + struct dma_map_ops *dma_ops; + void *dma_data; +}; + +struct pdev_archdata { + u64 dma_mask; +}; + +#endif /* _ASM_MICROBLAZE_DEVICE_H */ + + |
