]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/sparc/include/asm/device.h
sparc: drop use of extern for prototypes in arch/sparc/include/asm
[mirror_ubuntu-bionic-kernel.git] / arch / sparc / include / asm / device.h
CommitLineData
c6dbaef2
BH
1/*
2 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */
e865f3e6
DM
6#ifndef _ASM_SPARC_DEVICE_H
7#define _ASM_SPARC_DEVICE_H
8
1636f8ac
GL
9#include <asm/openprom.h>
10
e865f3e6 11struct device_node;
b505ff5e 12struct platform_device;
e865f3e6
DM
13
14struct dev_archdata {
ad7ad57c
DM
15 void *iommu;
16 void *stc;
17 void *host_controller;
b505ff5e 18 struct platform_device *op;
c1b1a5f1 19 int numa_node;
e865f3e6
DM
20};
21
f05a6865 22void of_propagate_archdata(struct platform_device *bus);
29596042 23
d7aacadd 24struct pdev_archdata {
1636f8ac
GL
25 struct resource resource[PROMREG_MAX];
26 unsigned int irqs[PROMINTR_MAX];
27 int num_irqs;
d7aacadd
MD
28};
29
e865f3e6 30#endif /* _ASM_SPARC_DEVICE_H */