drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / sparc / include / asm / device.h
bloba797d5e86406239c053fa05b45846962a2311d7f
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Arch specific extensions to struct device
4 */
5 #ifndef _ASM_SPARC_DEVICE_H
6 #define _ASM_SPARC_DEVICE_H
8 #include <asm/openprom.h>
10 struct device_node;
11 struct platform_device;
13 struct dev_archdata {
14 void *iommu;
15 void *stc;
16 void *host_controller;
17 struct platform_device *op;
18 int numa_node;
21 void of_propagate_archdata(struct platform_device *bus);
23 struct pdev_archdata {
24 struct resource resource[PROMREG_MAX];
25 unsigned int irqs[PROMINTR_MAX];
26 int num_irqs;
29 #endif /* _ASM_SPARC_DEVICE_H */