diff options
-rw-r--r-- | arch/arm/mach-zynq/common.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index f0a8533af1f9..e1b61317b86b 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c | |||
@@ -46,10 +46,10 @@ static struct of_device_id zynq_of_bus_ids[] __initdata = { | |||
46 | }; | 46 | }; |
47 | 47 | ||
48 | /** | 48 | /** |
49 | * xilinx_init_machine() - System specific initialization, intended to be | 49 | * zynq_init_machine - System specific initialization, intended to be |
50 | * called from board specific initialization. | 50 | * called from board specific initialization. |
51 | */ | 51 | */ |
52 | static void __init xilinx_init_machine(void) | 52 | static void __init zynq_init_machine(void) |
53 | { | 53 | { |
54 | /* | 54 | /* |
55 | * 64KB way size, 8-way associativity, parity disabled | 55 | * 64KB way size, 8-way associativity, parity disabled |
@@ -59,7 +59,7 @@ static void __init xilinx_init_machine(void) | |||
59 | of_platform_bus_probe(NULL, zynq_of_bus_ids, NULL); | 59 | of_platform_bus_probe(NULL, zynq_of_bus_ids, NULL); |
60 | } | 60 | } |
61 | 61 | ||
62 | static void __init xilinx_zynq_timer_init(void) | 62 | static void __init zynq_timer_init(void) |
63 | { | 63 | { |
64 | zynq_slcr_init(); | 64 | zynq_slcr_init(); |
65 | clocksource_of_init(); | 65 | clocksource_of_init(); |
@@ -84,9 +84,9 @@ static void __init zynq_scu_map_io(void) | |||
84 | } | 84 | } |
85 | 85 | ||
86 | /** | 86 | /** |
87 | * xilinx_map_io() - Create memory mappings needed for early I/O. | 87 | * zynq_map_io - Create memory mappings needed for early I/O. |
88 | */ | 88 | */ |
89 | static void __init xilinx_map_io(void) | 89 | static void __init zynq_map_io(void) |
90 | { | 90 | { |
91 | debug_ll_io_init(); | 91 | debug_ll_io_init(); |
92 | zynq_scu_map_io(); | 92 | zynq_scu_map_io(); |
@@ -97,17 +97,17 @@ static void zynq_system_reset(char mode, const char *cmd) | |||
97 | zynq_slcr_system_reset(); | 97 | zynq_slcr_system_reset(); |
98 | } | 98 | } |
99 | 99 | ||
100 | static const char *xilinx_dt_match[] = { | 100 | static const char * const zynq_dt_match[] = { |
101 | "xlnx,zynq-zc702", | 101 | "xlnx,zynq-zc702", |
102 | "xlnx,zynq-7000", | 102 | "xlnx,zynq-7000", |
103 | NULL | 103 | NULL |
104 | }; | 104 | }; |
105 | 105 | ||
106 | MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") | 106 | MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") |
107 | .map_io = xilinx_map_io, | 107 | .map_io = zynq_map_io, |
108 | .init_irq = irqchip_init, | 108 | .init_irq = irqchip_init, |
109 | .init_machine = xilinx_init_machine, | 109 | .init_machine = zynq_init_machine, |
110 | .init_time = xilinx_zynq_timer_init, | 110 | .init_time = zynq_timer_init, |
111 | .dt_compat = xilinx_dt_match, | 111 | .dt_compat = zynq_dt_match, |
112 | .restart = zynq_system_reset, | 112 | .restart = zynq_system_reset, |
113 | MACHINE_END | 113 | MACHINE_END |