RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / asm-powerpc / device.h
blob228ab2a315b9cd1354004bb96a77419574c52af8
1 /*
2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
5 */
6 #ifndef _ASM_POWERPC_DEVICE_H
7 #define _ASM_POWERPC_DEVICE_H
9 struct dma_mapping_ops;
10 struct device_node;
12 struct dev_archdata {
13 /* Optional pointer to an OF device node */
14 struct device_node *of_node;
16 /* DMA operations on that device */
17 struct dma_mapping_ops *dma_ops;
18 void *dma_data;
20 /* NUMA node if applicable */
21 int numa_node;
24 #endif /* _ASM_POWERPC_DEVICE_H */