diff options
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2168,9 +2168,9 @@ int chip_safety_check(const struct flashctx *flash, int force, int read_it, int return 0; } -static int prepare_flash_access(struct flashctx *const flash, - const bool read_it, const bool write_it, - const bool erase_it, const bool verify_it) +int prepare_flash_access(struct flashctx *const flash, + const bool read_it, const bool write_it, + const bool erase_it, const bool verify_it) { if (chip_safety_check(flash, flash->flags.force, read_it, write_it, erase_it, verify_it)) { msg_cerr("Aborting.\n"); @@ -2193,7 +2193,7 @@ static int prepare_flash_access(struct flashctx *const flash, return 0; } -static void finalize_flash_access(struct flashctx *const flash) +void finalize_flash_access(struct flashctx *const flash) { unmap_flash(flash); } |