summaryrefslogtreecommitdiff
path: root/boot/scene_menu.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-08-14 16:40:32 -0600
committerTom Rini <trini@konsulko.com>2023-08-25 13:54:33 -0400
commit6e648fa781eea9ae0c5e130217ffeabbd45d9385 (patch)
treee8150aefad37ae854ca6af4f78b374349763378b /boot/scene_menu.c
parentd65ccbb60138a34dfec583397666ceddab85e16d (diff)
expo: Export scene_menuitem_find() for use in internal code
Make this function available to other expo code so we can use it to look up a menu item. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/scene_menu.c')
-rw-r--r--boot/scene_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/scene_menu.c b/boot/scene_menu.c
index 57ffb523ff3..602fe24580a 100644
--- a/boot/scene_menu.c
+++ b/boot/scene_menu.c
@@ -33,8 +33,8 @@ void scene_menu_destroy(struct scene_obj_menu *menu)
scene_menuitem_destroy(item);
}
-static struct scene_menitem *scene_menuitem_find(struct scene_obj_menu *menu,
- int id)
+struct scene_menitem *scene_menuitem_find(const struct scene_obj_menu *menu,
+ int id)
{
struct scene_menitem *item;