···11-#ifndef _ASM_SPARC64_OF_DEVICE_H22-#define _ASM_SPARC64_OF_DEVICE_H33-#ifdef __KERNEL__44-55-#include <linux/device.h>66-#include <linux/of.h>77-#include <linux/mod_devicetable.h>88-#include <asm/openprom.h>99-1010-/*1111- * The of_device is a kind of "base class" that is a superset of1212- * struct device for use by devices attached to an OF node and1313- * probed using OF properties.1414- */1515-struct of_device1616-{1717- struct device_node *node;1818- struct device dev;1919- struct resource resource[PROMREG_MAX];2020- unsigned int irqs[PROMINTR_MAX];2121- int num_irqs;2222-2323- void *sysdata;2424-2525- int slot;2626- int portid;2727- int clock_freq;2828-};2929-3030-extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name);3131-extern void of_iounmap(struct resource *res, void __iomem *base, unsigned long size);3232-3333-/* These are just here during the transition */3434-#include <linux/of_device.h>3535-#include <linux/of_platform.h>3636-3737-#endif /* __KERNEL__ */3838-#endif /* _ASM_SPARC64_OF_DEVICE_H */11+#include <asm-sparc/of_device.h>