diff options
author | Philipp Hug <philipp@hug.cx> | 2018-09-10 19:46:42 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-09-10 20:37:17 +0000 |
commit | e0568595eebf26543de3c67c90cb09acef0bdb9e (patch) | |
tree | 33058bf98a5e26ac08c3b272de35a611332c4aa5 /src/soc/sifive/fu540 | |
parent | 2cf9990ec8776d5a514e188144c57ee42428e815 (diff) |
soc/sifive: fix compiler warning
Fix the following compiler warning on the latest toolchain:
src/soc/sifive/fu540/otp.c:48:1: error: useless storage class specifier in empty declaration [-Werror]
} __packed;
^
Change-Id: Ice87c821de7650ac547394efa2a4bcc5ae1ea668
Signed-off-by: Philipp Hug <philipp@hug.cx>
Reviewed-on: https://review.coreboot.org/28553
Tested-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/sifive/fu540')
-rw-r--r-- | src/soc/sifive/fu540/otp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/sifive/fu540/otp.c b/src/soc/sifive/fu540/otp.c index e6900fe1c1..73a5573fb6 100644 --- a/src/soc/sifive/fu540/otp.c +++ b/src/soc/sifive/fu540/otp.c @@ -29,7 +29,7 @@ * https://www.sifive.com/documentation/chips/freedom-u540-c000-manual/ */ -typedef struct sifive_otp_registers { +struct sifive_otp_registers { u32 pa; /* Address input */ u32 paio; /* Program address input */ u32 pas; /* Program redundancy cell selection input */ |