aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAmbroise Vincent <ambroise.vincent@arm.com>2019-02-13 15:58:00 +0000
committerAmbroise Vincent <ambroise.vincent@arm.com>2019-04-01 10:43:42 +0100
commit609e053caabf0807a71243eec11f49120eaaab61 (patch)
tree5f0a7641dcd9c8450f0f1a53083daf714c3c55dc /drivers
parentee80da114b9da8bd48e82ad0187c6534a2f11e71 (diff)
Remove several warnings reported with W=1
Improved support for W=1 compilation flag by solving missing-prototypes and old-style-definition warnings. The libraries are compiling with warnings (which turn into errors with the Werror flag). Outside of libraries, some warnings cannot be fixed without heavy structural changes. Change-Id: I1668cf99123ac4195c2a6a1d48945f7a64c67f16 Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/io/io_fip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/io/io_fip.c b/drivers/io/io_fip.c
index eaaf0909..544b37db 100644
--- a/drivers/io/io_fip.c
+++ b/drivers/io/io_fip.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2014-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -48,7 +48,7 @@ typedef struct {
uintptr_t dev_spec;
} fip_dev_state_t;
-static const uuid_t uuid_null = { {0} };
+static const uuid_t uuid_null;
/*
* Only one file can be open across all FIP device
* as backends like io_memmap don't support