diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-26 00:39:57 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-26 00:39:57 +0000 |
commit | 8c4421ddbdd6f4fec3de2fa431d42f0421a758d1 (patch) | |
tree | b6098ac90fc2fc4915b57a8f2dc3931d168ef2d2 /util/flashrom/flash.h | |
parent | 8dec57fe0c3721d7ced7b7aa41e90980867e1299 (diff) | |
download | coreboot-8c4421ddbdd6f4fec3de2fa431d42f0421a758d1.tar.xz |
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://svn.coreboot.org/coreboot/trunk@3901 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r-- | util/flashrom/flash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 00b4c808e9..a2ff9129da 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -481,7 +481,7 @@ extern int verbose; /* 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); |