mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
55716d2643
Based on 1 normalized pattern(s): this file is released under the gplv2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 68 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Armijn Hemel <armijn@tjaldur.nl> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190114.292346262@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
565 B
C
30 lines
565 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Arch specific extensions to struct device
|
|
*/
|
|
#ifndef _ASM_SPARC_DEVICE_H
|
|
#define _ASM_SPARC_DEVICE_H
|
|
|
|
#include <asm/openprom.h>
|
|
|
|
struct device_node;
|
|
struct platform_device;
|
|
|
|
struct dev_archdata {
|
|
void *iommu;
|
|
void *stc;
|
|
void *host_controller;
|
|
struct platform_device *op;
|
|
int numa_node;
|
|
};
|
|
|
|
void of_propagate_archdata(struct platform_device *bus);
|
|
|
|
struct pdev_archdata {
|
|
struct resource resource[PROMREG_MAX];
|
|
unsigned int irqs[PROMINTR_MAX];
|
|
int num_irqs;
|
|
};
|
|
|
|
#endif /* _ASM_SPARC_DEVICE_H */
|