projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ebf506
)
MIPS: ath79: Use mach_cpu_init instead of arch_cpu_init
author
Paul Burton
<paul.burton@imgtec.com>
Wed, 21 Sep 2016 10:18:47 +0000
(11:18 +0100)
committer
Daniel Schwierzeck
<daniel.schwierzeck@gmail.com>
Wed, 21 Sep 2016 13:04:04 +0000
(15:04 +0200)
In order to prepare for MIPS arch code making use of arch_cpu_init in a
later patch, stop using it from ath79 SoC code & instead use the new
mach_cpu_init which is provided for this purpose.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/mach-ath79/cpu.c
patch
|
blob
|
history
diff --git
a/arch/mips/mach-ath79/cpu.c
b/arch/mips/mach-ath79/cpu.c
index
5756a06
..
4ef5092
100644
(file)
--- a/
arch/mips/mach-ath79/cpu.c
+++ b/
arch/mips/mach-ath79/cpu.c
@@
-46,7
+46,7
@@
static const struct ath79_soc_desc desc[] = {
{ATH79_SOC_QCA9561, "9561", REV_ID_MAJOR_QCA9561, 0},
};
{ATH79_SOC_QCA9561, "9561", REV_ID_MAJOR_QCA9561, 0},
};
-int
ar
ch_cpu_init(void)
+int
ma
ch_cpu_init(void)
{
void __iomem *base;
enum ath79_soc_type soc = ATH79_SOC_UNKNOWN;
{
void __iomem *base;
enum ath79_soc_type soc = ATH79_SOC_UNKNOWN;