Browse Source

mips: add explicit includes of prom.h

In preparation of removing prom.h include by of.h, add explicit includes.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Rob Herring 12 years ago
parent
commit
089a49b68c
3 changed files with 4 additions and 0 deletions
  1. 1 0
      arch/mips/lantiq/prom.c
  2. 2 0
      arch/mips/mti-sead3/sead3-setup.c
  3. 1 0
      arch/mips/ralink/of.c

+ 1 - 0
arch/mips/lantiq/prom.c

@@ -14,6 +14,7 @@
 
 #include <asm/bootinfo.h>
 #include <asm/time.h>
+#include <asm/prom.h>
 
 #include <lantiq.h>
 

+ 2 - 0
arch/mips/mti-sead3/sead3-setup.c

@@ -10,6 +10,8 @@
 #include <linux/of_fdt.h>
 #include <linux/bootmem.h>
 
+#include <asm/prom.h>
+
 #include <asm/mips-boards/generic.h>
 
 const char *get_system_type(void)

+ 1 - 0
arch/mips/ralink/of.c

@@ -21,6 +21,7 @@
 #include <asm/reboot.h>
 #include <asm/bootinfo.h>
 #include <asm/addrspace.h>
+#include <asm/prom.h>
 
 #include "common.h"