mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 22:55:20 +07:00
f05a68653e
Drop extern for all prototypes and adjust alignment of parameters as required after the removal. In a few rare cases adjust linelength to conform to maximum 80 chars, and likewise in a few rare cases adjust alignment of parameters to static functions. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
31 lines
565 B
C
31 lines
565 B
C
/*
|
|
* Arch specific extensions to struct device
|
|
*
|
|
* This file is released under the GPLv2
|
|
*/
|
|
#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 */
|