From 12ad4d887b9cd99489dc0a40a7bcd236848b4175 Mon Sep 17 00:00:00 2001 From: Dan Handley Date: Wed, 6 May 2015 14:47:40 +0100 Subject: [PATCH] Fix return type of FVP plat_arm_topology_setup Fix the return type of the FVP `plat_arm_topology_setup` function to be `void` instead of `int` to match the declaration in `plat_arm.h`. This does not result in any change in behavior. Change-Id: I62edfa7652b83bd26cffb7d167153959b38e37e7 --- plat/arm/board/fvp/fvp_topology.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plat/arm/board/fvp/fvp_topology.c b/plat/arm/board/fvp/fvp_topology.c index 168864a8..c90e82f6 100644 --- a/plat/arm/board/fvp/fvp_topology.c +++ b/plat/arm/board/fvp/fvp_topology.c @@ -183,7 +183,7 @@ unsigned int plat_get_aff_state(unsigned int aff_lvl, * the FVP flavour its running on. We construct all the mpidrs we can handle * and rely on the PWRC.PSYSR to flag absent cpus when their status is queried. ******************************************************************************/ -int plat_arm_topology_setup(void) +void plat_arm_topology_setup(void) { unsigned char aff0, aff1, aff_state, aff0_offset = 0; unsigned long mpidr; @@ -229,5 +229,4 @@ int plat_arm_topology_setup(void) fvp_aff1_topology_map[aff1 - 1].sibling = AFFINST_INVAL; topology_setup_done = 1; - return 0; } -- 2.30.2