Original v2 revision: 3901
flashrom: Change flashrom.c:map_flash_registers() from int to void.
The function exit()s on failure, and no callers check the return value.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://coreboot.org/flashrom/trunk@396 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/flash.h b/flash.h
index 00b4c80..a2ff912 100644
--- a/flash.h
+++ b/flash.h
@@ -481,7 +481,7 @@
/* flashrom.c */
void mmap_errmsg();
-int map_flash_registers(struct flashchip *flash);
+void map_flash_registers(struct flashchip *flash);
/* layout.c */
int show_id(uint8_t *bios, int size, int force);