summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/agah/board.c7
-rw-r--r--board/hades/board.c7
2 files changed, 10 insertions, 4 deletions
diff --git a/board/agah/board.c b/board/agah/board.c
index 44f811688d..91b326c868 100644
--- a/board/agah/board.c
+++ b/board/agah/board.c
@@ -36,8 +36,11 @@
static int block_sequence;
struct d_notify_policy d_notify_policies[] = {
- AC_ATLEAST_W(100), AC_ATLEAST_W(65), AC_DC,
- DC_ATLEAST_SOC(20), DC_ATLEAST_SOC(5),
+ [D_NOTIFY_1] = AC_ATLEAST_W(100),
+ [D_NOTIFY_2] = AC_ATLEAST_W(65),
+ [D_NOTIFY_3] = AC_DC,
+ [D_NOTIFY_4] = DC_ATLEAST_SOC(20),
+ [D_NOTIFY_5] = DC_ATLEAST_SOC(5),
};
BUILD_ASSERT(ARRAY_SIZE(d_notify_policies) == D_NOTIFY_COUNT);
diff --git a/board/hades/board.c b/board/hades/board.c
index 1f274c3161..f06a6f52dc 100644
--- a/board/hades/board.c
+++ b/board/hades/board.c
@@ -36,8 +36,11 @@
static int block_sequence;
struct d_notify_policy d_notify_policies[] = {
- AC_ATLEAST_W(100), AC_ATLEAST_W(65), AC_DC,
- DC_ATLEAST_SOC(20), DC_ATLEAST_SOC(5),
+ [D_NOTIFY_1] = AC_ATLEAST_W(100),
+ [D_NOTIFY_2] = AC_ATLEAST_W(65),
+ [D_NOTIFY_3] = AC_DC,
+ [D_NOTIFY_4] = DC_ATLEAST_SOC(20),
+ [D_NOTIFY_5] = DC_ATLEAST_SOC(5),
};
BUILD_ASSERT(ARRAY_SIZE(d_notify_policies) == D_NOTIFY_COUNT);