summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mipsprom.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-06-27 08:45:42 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2011-10-20 14:00:18 (GMT)
commitdd5d1380f1379882e4adad65a85271da4662d20d (patch)
tree590edfe2ff83b870e6affa7b0c183f5ed59a9a85 /arch/mips/include/asm/mipsprom.h
parentcba2efb64be89ad5404b38f7e39b50f337f45fb9 (diff)
downloadlinux-fsl-qoriq-dd5d1380f1379882e4adad65a85271da4662d20d.tar.xz
MIPS: SNI: Fix conflicting wrapper symbols for headers.
If Open Firmware / Device Tree support is enabled on a SNI RM kernel both <asm/mipsprom.h> and <asm/prom.h> will be included into some .c files. Since both headers use the same wrapper symbol only the inclusion of the first file will have an effect but the 2nd file will be ignored resulting in a build error. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mipsprom.h')
-rw-r--r--arch/mips/include/asm/mipsprom.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/include/asm/mipsprom.h b/arch/mips/include/asm/mipsprom.h
index 146d41b..e93943f 100644
--- a/arch/mips/include/asm/mipsprom.h
+++ b/arch/mips/include/asm/mipsprom.h
@@ -1,5 +1,5 @@
-#ifndef __ASM_MIPS_PROM_H
-#define __ASM_MIPS_PROM_H
+#ifndef __ASM_MIPSPROM_H
+#define __ASM_MIPSPROM_H
#define PROM_RESET 0
#define PROM_EXEC 1
@@ -73,4 +73,4 @@
extern char *prom_getenv(char *);
-#endif /* __ASM_MIPS_PROM_H */
+#endif /* __ASM_MIPSPROM_H */