From fb037bfb7cbf7b404c069b4ebac5a10059d948b1 Mon Sep 17 00:00:00 2001 From: Dan Handley Date: Thu, 10 Apr 2014 15:37:22 +0100 Subject: Always use named structs in header files Add tag names to all unnamed structs in header files. This allows forward declaration of structs, which is necessary to reduce header file nesting (to be implemented in a subsequent commit). Also change the typedef names across the codebase to use the _t suffix to be more conformant with the Linux coding style. The coding style actually prefers us not to use typedefs at all but this is considered a step too far for Trusted Firmware. Also change the IO framework structs defintions to use typedef'd structs to be consistent with the rest of the codebase. Change-Id: I722b2c86fc0d92e4da3b15e5cab20373dd26786f --- services/std_svc/psci/psci_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/std_svc/psci/psci_main.c') diff --git a/services/std_svc/psci/psci_main.c b/services/std_svc/psci/psci_main.c index 8692adf6..fd20ad5b 100644 --- a/services/std_svc/psci/psci_main.c +++ b/services/std_svc/psci/psci_main.c @@ -144,7 +144,7 @@ int psci_affinity_info(unsigned long target_affinity, { int rc = PSCI_E_INVALID_PARAMS; unsigned int aff_state; - aff_map_node *node; + aff_map_node_t *node; if (lowest_affinity_level > get_max_afflvl()) return rc; -- cgit