diff options
author | Patrick Georgi <pgeorgi@google.com> | 2018-05-02 19:03:38 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-18 10:05:13 -0700 |
commit | 85ddb2ce533cb0276aab7780238ec98e1abec2fe (patch) | |
tree | b434418120801569b00af876c36b90080ca5f1f0 /core/nds32/task.c | |
parent | e5f3ee270a0e6d7ef8bc9965dad27b11cffda367 (diff) | |
download | chrome-ec-85ddb2ce533cb0276aab7780238ec98e1abec2fe.tar.gz |
Shuffle const around
gcc 8.1 complains about duplicate const, and while some of these really
are duplicate, others look like they were supposed to tighten the API
contract so that variables are "const pointer to const data", but didn't
have that effect.
BUG=b:65441143
BRANCH=none
TEST=building Chrome EC as part of upstream coreboot's build with a
gcc 8.1 compiler now works (better. there are other issues left)
Change-Id: I6016c5f282516471746f08d5714ea07ebdd10331
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1039812
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'core/nds32/task.c')
-rw-r--r-- | core/nds32/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/nds32/task.c b/core/nds32/task.c index 2de4c78303..17f02cd10e 100644 --- a/core/nds32/task.c +++ b/core/nds32/task.c @@ -109,7 +109,7 @@ static const struct { uint32_t r0; uint32_t pc; uint16_t stack_size; -} const tasks_init[] = { +} tasks_init[] = { TASK(IDLE, __idle, 0, IDLE_TASK_STACK_SIZE) CONFIG_TASK_LIST CONFIG_TEST_TASK_LIST |