summaryrefslogtreecommitdiff
path: root/util/cbfstool/flashmap/fmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/flashmap/fmap.h')
-rw-r--r--util/cbfstool/flashmap/fmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/cbfstool/flashmap/fmap.h b/util/cbfstool/flashmap/fmap.h
index 22accf307d..30ceb29247 100644
--- a/util/cbfstool/flashmap/fmap.h
+++ b/util/cbfstool/flashmap/fmap.h
@@ -166,7 +166,8 @@ extern int fmap_append_area(struct fmap **fmap,
* returns a pointer to the entry in the fmap structure if successful
* returns NULL to indicate failure or if no matching area entry is found
*/
-extern struct fmap_area *fmap_find_area(struct fmap *fmap, const char *name);
+extern const struct fmap_area *fmap_find_area(const struct fmap *fmap,
+ const char *name);
/* unit testing stuff */
extern int fmap_test(void);