forked from luck/tmp_suning_uos_patched
6b884a8d50
Merge common code between Microblaze and PowerPC. This patch creates new of_address.h and address.c files to containing address translation and mapping routines. First routine to be moved it of_iomap() Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: Michal Simek <monstr@monstr.eu> CC: Stephen Rothwell <sfr@canb.auug.org.au>
10 lines
195 B
C
10 lines
195 B
C
#ifndef __OF_ADDRESS_H
|
|
#define __OF_ADDRESS_H
|
|
#include <linux/ioport.h>
|
|
#include <linux/of.h>
|
|
|
|
extern void __iomem *of_iomap(struct device_node *device, int index);
|
|
|
|
#endif /* __OF_ADDRESS_H */
|
|
|