diff options
Diffstat (limited to 'util/flashrom/flashrom.c')
-rw-r--r-- | util/flashrom/flashrom.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util/flashrom/flashrom.c b/util/flashrom/flashrom.c index 4d8614a33a..eb0d8e0fd9 100644 --- a/util/flashrom/flashrom.c +++ b/util/flashrom/flashrom.c @@ -95,7 +95,7 @@ void mmap_errmsg() } } -int map_flash_registers(struct flashchip *flash) +void map_flash_registers(struct flashchip *flash) { volatile uint8_t *registers; size_t size = flash->total_size * 1024; @@ -109,8 +109,6 @@ int map_flash_registers(struct flashchip *flash) exit(1); } flash->virtual_registers = registers; - - return 0; } struct flashchip *probe_flash(struct flashchip *first_flash, int force) |