of_device.h 584 字节
Newer Older
1 2 3 4 5
#ifndef _ASM_SPARC_OF_DEVICE_H
#define _ASM_SPARC_OF_DEVICE_H
#ifdef __KERNEL__

#include <linux/device.h>
6
#include <linux/of.h>
7
#include <linux/mod_devicetable.h>
8
#include <asm/openprom.h>
9

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

13 14
extern void of_propagate_archdata(struct of_device *bus);

15
/* This is just here during the transition */
S
Stephen Rothwell 已提交
16
#include <linux/of_platform.h>
17 18 19

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