spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / arch / sparc / include / asm / device.h
blobdaa6a8a5e9cd0d5dfa102ca89639d3eda8d53f5c
1 /*
2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
5 */
6 #ifndef _ASM_SPARC_DEVICE_H
7 #define _ASM_SPARC_DEVICE_H
9 #include <asm/openprom.h>
11 struct device_node;
12 struct platform_device;
14 struct dev_archdata {
15 void *iommu;
16 void *stc;
17 void *host_controller;
18 struct platform_device *op;
19 int numa_node;
22 extern void of_propagate_archdata(struct platform_device *bus);
24 struct pdev_archdata {
25 struct resource resource[PROMREG_MAX];
26 unsigned int irqs[PROMINTR_MAX];
27 int num_irqs;
30 #endif /* _ASM_SPARC_DEVICE_H */