2 * Arch specific extensions to struct device
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
9 #ifndef _ASM_MICROBLAZE_DEVICE_H
10 #define _ASM_MICROBLAZE_DEVICE_H
15 /* Optional pointer to an OF device node */
16 struct device_node *of_node;
18 /* DMA operations on that device */
19 struct dma_map_ops *dma_ops;
23 struct pdev_archdata {
26 static inline void dev_archdata_set_node(struct dev_archdata *ad,
27 struct device_node *np)
32 static inline struct device_node *
33 dev_archdata_get_node(const struct dev_archdata *ad)
38 #endif /* _ASM_MICROBLAZE_DEVICE_H */