diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2014-04-19 12:32:49 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-05-08 12:22:43 -0400 |
commit | c42e1ffa269f098133629adf54cabe242596b647 (patch) | |
tree | 1033bcb342d436c2880a69501c05c266e6b5e46d /arch/arm | |
parent | 8c16babc6476111efabafbb262b47f8309942403 (diff) |
ARM: mvebu: remove unnecessary ifdef around l2x0_of_init
l2x0_of_init function is always defined
arch/arm/include/asm/hardware/cache-l2x0.h: in case of
CONFIG_CACHE_L2X0 is not selected then a placeholder is defined.
Then there is no need to have ifdef around l2x0_of_init.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397925170-8202-2-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mvebu/board-v7.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/board-v7.c b/arch/arm/mach-mvebu/board-v7.c index 85f964e55bf3..b674f3717cfc 100644 --- a/arch/arm/mach-mvebu/board-v7.c +++ b/arch/arm/mach-mvebu/board-v7.c | |||
@@ -78,9 +78,7 @@ static void __init mvebu_timer_and_clk_init(void) | |||
78 | mvebu_scu_enable(); | 78 | mvebu_scu_enable(); |
79 | coherency_init(); | 79 | coherency_init(); |
80 | BUG_ON(mvebu_mbus_dt_init(coherency_available())); | 80 | BUG_ON(mvebu_mbus_dt_init(coherency_available())); |
81 | #ifdef CONFIG_CACHE_L2X0 | ||
82 | l2x0_of_init(0, ~0UL); | 81 | l2x0_of_init(0, ~0UL); |
83 | #endif | ||
84 | 82 | ||
85 | if (of_machine_is_compatible("marvell,armada375")) | 83 | if (of_machine_is_compatible("marvell,armada375")) |
86 | hook_fault_code(16 + 6, armada_375_external_abort_wa, SIGBUS, 0, | 84 | hook_fault_code(16 + 6, armada_375_external_abort_wa, SIGBUS, 0, |