1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Arch specific extensions to struct device
5 #ifndef _ASM_SPARC_DEVICE_H
6 #define _ASM_SPARC_DEVICE_H
8 #include <asm/openprom.h>
11 struct platform_device;
16 void *host_controller;
17 struct platform_device *op;
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];
29 #endif /* _ASM_SPARC_DEVICE_H */