aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2020-03-11 17:16:49 +0100
committerYann Gautier <yann.gautier@st.com>2020-03-23 16:38:41 +0100
commit498f2936e0b1821df6ca86e32b3b0edf532d3976 (patch)
treea7118c3963f06eb2c966f2a5b4b0d3689fb96908 /include
parent9d22d310804a73bc08e1cfcf9bbcfd77f8b5a799 (diff)
downloadplatform_external_arm-trusted-firmware-498f2936e0b1821df6ca86e32b3b0edf532d3976.tar.gz
platform_external_arm-trusted-firmware-498f2936e0b1821df6ca86e32b3b0edf532d3976.tar.bz2
platform_external_arm-trusted-firmware-498f2936e0b1821df6ca86e32b3b0edf532d3976.zip
raw_nand: correct static analysis tool warning
Correct the following warning given by sparse tool: include/drivers/raw_nand.h:158:3: warning: symbol '__packed' was not declared. Should it be static? Change-Id: I03bd9a8aee5cdc5212ce5225be8033f1a6e92bd9 Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'include')
-rw-r--r--include/drivers/raw_nand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drivers/raw_nand.h b/include/drivers/raw_nand.h
index 18e4b73da..9018f0242 100644
--- a/include/drivers/raw_nand.h
+++ b/include/drivers/raw_nand.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019, STMicroelectronics - All Rights Reserved
+ * Copyright (c) 2019-2020, STMicroelectronics - All Rights Reserved
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -7,6 +7,7 @@
#ifndef DRIVERS_RAW_NAND_H
#define DRIVERS_RAW_NAND_H
+#include <cdefs.h>
#include <stdint.h>
#include <drivers/nand.h>