aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/sparc/include/asm/of_device.h
blob: 22b9828fe6930ac2807dfe2734a1f33ce2fc3fb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _ASM_SPARC_OF_DEVICE_H
#define _ASM_SPARC_OF_DEVICE_H
#ifdef __KERNEL__

#include <linux/device.h>
#include <linux/of.h>
#include <linux/mod_devicetable.h>
#include <asm/openprom.h>

extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name);
extern void of_iounmap(struct resource *res, void __iomem *base, unsigned long size);

extern void of_propagate_archdata(struct of_device *bus);

/* This is just here during the transition */
#include <linux/of_platform.h>

#endif /* __KERNEL__ */
#endif /* _ASM_SPARC_OF_DEVICE_H */