diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-15 09:37:26 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-21 22:21:25 +0200 |
commit | 968c2e865dfaa04378a5725ece42ac99fc82ed45 (patch) | |
tree | dd21209daa5567acbeedbd8332c52113acf23d4f | |
parent | 4a109289523f74d2da89160f43b8134aac19f2f1 (diff) | |
download | barebox-968c2e865dfaa04378a5725ece42ac99fc82ed45.tar.gz barebox-968c2e865dfaa04378a5725ece42ac99fc82ed45.tar.xz |
bootm: sparse fixes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | commands/bootm.c | 2 | ||||
-rw-r--r-- | include/image.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/commands/bootm.c b/commands/bootm.c index 14475c7ef4..0d3649f7a0 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -225,7 +225,7 @@ void unmap_image(struct image_handle *handle) } EXPORT_SYMBOL(unmap_image); -LIST_HEAD(handler_list); +static LIST_HEAD(handler_list); int register_image_handler(struct image_handler *handler) { diff --git a/include/image.h b/include/image.h index a42d06bc31..8932947b7e 100644 --- a/include/image.h +++ b/include/image.h @@ -336,6 +336,7 @@ void print_image_hdr (image_header_t *hdr); * image. */ struct image_handle *map_image(const char *filename, int verify); +void unmap_image(struct image_handle *handle); /* * Relocate an image to load_address by uncompressing |