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:
parent
0950b2549e
commit
4b6316da4e
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ int flash_area_check_int_sha256(const struct flash_area *fa,
|
||||||
{
|
{
|
||||||
unsigned char hash[TC_SHA256_DIGEST_SIZE];
|
unsigned char hash[TC_SHA256_DIGEST_SIZE];
|
||||||
struct tc_sha256_state_struct sha;
|
struct tc_sha256_state_struct sha;
|
||||||
struct device *dev;
|
const struct device *dev;
|
||||||
int to_read;
|
int to_read;
|
||||||
int pos;
|
int pos;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue