diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2013-03-25 15:55:32 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-08 06:30:10 -0400 |
commit | 270690e00cdb034cd945ab597c24e6aff0227f77 (patch) | |
tree | a5dafe37c5418e6cb7862c7591a8314cebfbc63d /arch/mips/powertv | |
parent | b431f09d552cc85b19ee1d029eb1d3a992b73166 (diff) |
MIPS: FW: Remove obsolete header file for MTI platforms.
Remove 'arch/mips/include/asm/mips-boards/prom.h' and get rid of
all inclusions of it by Malta and SEAD-3 platforms.
[ralf@linux-mips.org: Fold in John Crispin <blogic@openwrt.org>'s "MIPS:
ar7 powertv build"].
[ralf@linux-mips.org: Fold in John Crispin <blogic@openwrt.org>'s "MIPS:
unbreak powertv build"].
[ralf@linux-mips.org: Test. Build. Your. Fscking. Code. Or...]
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Diffstat (limited to 'arch/mips/powertv')
-rw-r--r-- | arch/mips/powertv/init.c | 3 | ||||
-rw-r--r-- | arch/mips/powertv/init.h | 2 | ||||
-rw-r--r-- | arch/mips/powertv/memory.c | 1 | ||||
-rw-r--r-- | arch/mips/powertv/powertv_setup.c | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/powertv/init.c b/arch/mips/powertv/init.c index 5bd9d8f468cc..a01baff52cae 100644 --- a/arch/mips/powertv/init.c +++ b/arch/mips/powertv/init.c | |||
@@ -29,10 +29,11 @@ | |||
29 | #include <asm/cacheflush.h> | 29 | #include <asm/cacheflush.h> |
30 | #include <asm/traps.h> | 30 | #include <asm/traps.h> |
31 | 31 | ||
32 | #include <asm/mips-boards/prom.h> | ||
33 | #include <asm/mips-boards/generic.h> | 32 | #include <asm/mips-boards/generic.h> |
34 | #include <asm/mach-powertv/asic.h> | 33 | #include <asm/mach-powertv/asic.h> |
35 | 34 | ||
35 | #include "init.h" | ||
36 | |||
36 | static int *_prom_envp; | 37 | static int *_prom_envp; |
37 | unsigned long _prom_memsize; | 38 | unsigned long _prom_memsize; |
38 | 39 | ||
diff --git a/arch/mips/powertv/init.h b/arch/mips/powertv/init.h index b194c34ca966..c1a8bd0dbe4b 100644 --- a/arch/mips/powertv/init.h +++ b/arch/mips/powertv/init.h | |||
@@ -23,4 +23,6 @@ | |||
23 | #ifndef _POWERTV_INIT_H | 23 | #ifndef _POWERTV_INIT_H |
24 | #define _POWERTV_INIT_H | 24 | #define _POWERTV_INIT_H |
25 | extern unsigned long _prom_memsize; | 25 | extern unsigned long _prom_memsize; |
26 | extern void prom_meminit(void); | ||
27 | extern char *prom_getenv(char *name); | ||
26 | #endif | 28 | #endif |
diff --git a/arch/mips/powertv/memory.c b/arch/mips/powertv/memory.c index 6e5f1bdc59b5..bc2f3ca22b41 100644 --- a/arch/mips/powertv/memory.c +++ b/arch/mips/powertv/memory.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <asm/page.h> | 29 | #include <asm/page.h> |
30 | #include <asm/sections.h> | 30 | #include <asm/sections.h> |
31 | 31 | ||
32 | #include <asm/mips-boards/prom.h> | ||
33 | #include <asm/mach-powertv/asic.h> | 32 | #include <asm/mach-powertv/asic.h> |
34 | #include <asm/mach-powertv/ioremap.h> | 33 | #include <asm/mach-powertv/ioremap.h> |
35 | 34 | ||
diff --git a/arch/mips/powertv/powertv_setup.c b/arch/mips/powertv/powertv_setup.c index 820b8480f222..24689bff1039 100644 --- a/arch/mips/powertv/powertv_setup.c +++ b/arch/mips/powertv/powertv_setup.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <asm/bootinfo.h> | 31 | #include <asm/bootinfo.h> |
32 | #include <asm/irq.h> | 32 | #include <asm/irq.h> |
33 | #include <asm/mips-boards/generic.h> | 33 | #include <asm/mips-boards/generic.h> |
34 | #include <asm/mips-boards/prom.h> | ||
35 | #include <asm/dma.h> | 34 | #include <asm/dma.h> |
36 | #include <asm/asm.h> | 35 | #include <asm/asm.h> |
37 | #include <asm/traps.h> | 36 | #include <asm/traps.h> |