#ifndef _ASM_ARC_PROM_H_
#define _ASM_ARC_PROM_H_
-#define HAVE_ARCH_DEVTREE_FIXUPS
-
#endif
#ifndef __ASMARM_PROM_H
#define __ASMARM_PROM_H
-#define HAVE_ARCH_DEVTREE_FIXUPS
-
#ifdef CONFIG_OF
extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
#ifndef __ASM_METAG_PROM_H
#define __ASM_METAG_PROM_H
-#define HAVE_ARCH_DEVTREE_FIXUPS
extern void copy_fdt(void);
#include <linux/of.h>
-#define HAVE_ARCH_DEVTREE_FIXUPS
-
/* Other Prototypes */
enum early_consoles {
UARTLITE = 1,
#ifndef _ASM_OPENRISC_PROM_H
#define _ASM_OPENRISC_PROM_H
-#define HAVE_ARCH_DEVTREE_FIXUPS
-
#endif /* _ASM_OPENRISC_PROM_H */
#include <asm/irq.h>
#include <linux/atomic.h>
-#define HAVE_ARCH_DEVTREE_FIXUPS
-
/*
* OF address retreival & translation
*/
extern char cmd_line[COMMAND_LINE_SIZE];
-#define HAVE_ARCH_DEVTREE_FIXUPS
-
#endif /* __ASSEMBLY__ */
#endif
#ifndef _XTENSA_ASM_PROM_H
#define _XTENSA_ASM_PROM_H
-#define HAVE_ARCH_DEVTREE_FIXUPS
-
#endif /* _XTENSA_ASM_PROM_H */
#include <linux/of.h>
#include <linux/export.h>
#include <linux/slab.h>
-#include <asm/prom.h>
#include <asm/uaccess.h>
#include "internal.h"
static inline void set_node_proc_entry(struct device_node *np,
struct proc_dir_entry *de)
{
-#ifdef HAVE_ARCH_DEVTREE_FIXUPS
np->pde = de;
-#endif
}
static struct proc_dir_entry *proc_device_tree;