Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32df8dca authored by Rob Herring's avatar Rob Herring
Browse files

of: remove HAVE_ARCH_DEVTREE_FIXUPS



HAVE_ARCH_DEVTREE_FIXUPS appears to always be needed except for sparc,
but it is only used for /proc/device-teee and sparc does not enable
/proc/device-tree. So this option is redundant. Remove the option and
always enable it. This has the side effect of fixing /proc/device-tree
on arches such as arm64 which failed to define this option.

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarVineet Gupta <vgupta@synopsys.com>
Acked-by: default avatarGrant Likely <grant.likely@linaro.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
parent 0c3f061c
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -9,6 +9,4 @@
#ifndef _ASM_ARC_PROM_H_
#ifndef _ASM_ARC_PROM_H_
#define _ASM_ARC_PROM_H_
#define _ASM_ARC_PROM_H_


#define HAVE_ARCH_DEVTREE_FIXUPS

#endif
#endif
+0 −2
Original line number Original line Diff line number Diff line
@@ -11,8 +11,6 @@
#ifndef __ASMARM_PROM_H
#ifndef __ASMARM_PROM_H
#define __ASMARM_PROM_H
#define __ASMARM_PROM_H


#define HAVE_ARCH_DEVTREE_FIXUPS

#ifdef CONFIG_OF
#ifdef CONFIG_OF


extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
+0 −1
Original line number Original line Diff line number Diff line
@@ -14,7 +14,6 @@
#ifndef __ASM_METAG_PROM_H
#ifndef __ASM_METAG_PROM_H
#define __ASM_METAG_PROM_H
#define __ASM_METAG_PROM_H


#define HAVE_ARCH_DEVTREE_FIXUPS


extern void copy_fdt(void);
extern void copy_fdt(void);


+0 −2
Original line number Original line Diff line number Diff line
@@ -16,8 +16,6 @@


#include <linux/of.h>
#include <linux/of.h>


#define HAVE_ARCH_DEVTREE_FIXUPS

/* Other Prototypes */
/* Other Prototypes */
enum early_consoles {
enum early_consoles {
	UARTLITE = 1,
	UARTLITE = 1,
+0 −2
Original line number Original line Diff line number Diff line
@@ -17,6 +17,4 @@
#ifndef _ASM_OPENRISC_PROM_H
#ifndef _ASM_OPENRISC_PROM_H
#define _ASM_OPENRISC_PROM_H
#define _ASM_OPENRISC_PROM_H


#define HAVE_ARCH_DEVTREE_FIXUPS

#endif /* _ASM_OPENRISC_PROM_H */
#endif /* _ASM_OPENRISC_PROM_H */
Loading