diff options
Diffstat (limited to 'src/flash/nor/driver.h')
-rw-r--r-- | src/flash/nor/driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/driver.h b/src/flash/nor/driver.h index 4e17207..8f2e1cc 100644 --- a/src/flash/nor/driver.h +++ b/src/flash/nor/driver.h @@ -137,7 +137,7 @@ struct flash_driver { * @returns ERROR_OK if successful; otherwise, an error code. */ int (*write)(struct flash_bank *bank, - uint8_t *buffer, uint32_t offset, uint32_t count); + const uint8_t *buffer, uint32_t offset, uint32_t count); /** * Read data from the flash. Note CPU address will be |