storage: flash_map: use const struct device

use const struct device in place to solve CI failure

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
This commit is contained in:
Parthiban Nallathambi 2020-09-03 19:40:40 +02:00 committed by Kumar Gala
commit 4b6316da4e

View file

@ -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;