]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: SNI: Fix conflicting wrapper symbols for headers.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 28 Jul 2011 15:15:46 +0000 (16:15 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 9 Aug 2011 08:16:22 +0000 (09:16 +0100)
commitd297c00b0559c32c99277fb0a270a50a8a2d266e
treeb19357d5e5a069bc1149c2a8c8d09b34bf8cd84d
parent36ffe69e13f62db0f93c4f9c3b71815a6d987d74
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>
arch/mips/include/asm/mipsprom.h
arch/mips/include/asm/prom.h