]> 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>
Thu, 28 Jul 2011 15:15:46 +0000 (16:15 +0100)
commit9e385413470667eca254270ce975371599df64f1
tree92e979ee63265bdf64ebc91a8944be6e940c6d15
parent7002758d22a57cf204a38dfa796a31169f59f579
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