diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-28 15:36:48 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-28 15:37:18 +0200 |
commit | e8cb9b6f491686dfc80b4786a63b778f034702f8 (patch) | |
tree | 44e3145077e9f9d02dedf729265b272a43b5cc5c | |
parent | f4524ddcc76593e46e981ad108c0e3011d1d7313 (diff) | |
download | genimage-e8cb9b6f491686dfc80b4786a63b778f034702f8.tar.gz genimage-e8cb9b6f491686dfc80b4786a63b778f034702f8.tar.xz |
genimage: make mountpath() argument const
It not modified and this will be needed in the next commit.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | genimage.c | 2 | ||||
-rw-r--r-- | genimage.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -465,7 +465,7 @@ static int collect_mountpoints(void) return 0; } -const char *mountpath(struct image *image) +const char *mountpath(const struct image *image) { struct mountpoint *mp; @@ -22,7 +22,7 @@ const char *imagepath(void); const char *inputpath(void); const char *rootpath(void); const char *tmppath(void); -const char *mountpath(struct image *); +const char *mountpath(const struct image *); struct flash_type; struct mountpoint { |