From 4b6316da4ea08dc02d073ecb0b0e54f81840f511 Mon Sep 17 00:00:00 2001 From: Parthiban Nallathambi Date: Thu, 3 Sep 2020 19:40:40 +0200 Subject: [PATCH] storage: flash_map: use const struct device use const struct device in place to solve CI failure Signed-off-by: Parthiban Nallathambi --- subsys/storage/flash_map/flash_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/storage/flash_map/flash_map.c b/subsys/storage/flash_map/flash_map.c index cf07db44bbd..7e0c6f6143e 100644 --- a/subsys/storage/flash_map/flash_map.c +++ b/subsys/storage/flash_map/flash_map.c @@ -276,7 +276,7 @@ int flash_area_check_int_sha256(const struct flash_area *fa, { unsigned char hash[TC_SHA256_DIGEST_SIZE]; struct tc_sha256_state_struct sha; - struct device *dev; + const struct device *dev; int to_read; int pos; int rc;