diff --git a/commands/bootm.c b/commands/bootm.c index 14475c7..0d3649f 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -225,7 +225,7 @@ } 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 a42d06b..8932947 100644 --- a/include/image.h +++ b/include/image.h @@ -336,6 +336,7 @@ * 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