device.h 494 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/*
 * 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 {
M
Michal Simek 已提交
15 16
	/* DMA operations on that device */
	struct dma_map_ops	*dma_ops;
17 18
};

19
struct pdev_archdata {
20
	u64 dma_mask;
21 22
};

23 24 25
#endif /* _ASM_MICROBLAZE_DEVICE_H */