2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
6 #ifndef _ASM_POWERPC_DEVICE_H
7 #define _ASM_POWERPC_DEVICE_H
13 /* Optional pointer to an OF device node */
14 struct device_node
*of_node
;
16 /* DMA operations on that device */
17 struct dma_map_ops
*dma_ops
;
20 dma_addr_t max_direct_dma_addr
;
24 static inline void dev_archdata_set_node(struct dev_archdata
*ad
,
25 struct device_node
*np
)
30 static inline struct device_node
*
31 dev_archdata_get_node(const struct dev_archdata
*ad
)
36 #endif /* _ASM_POWERPC_DEVICE_H */