commit | 633b3dc75536a7a878126c41babc248c095b66fe | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Aug 14 16:40:21 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 25 13:54:33 2023 -0400 |
tree | f5f3da366c6155eeda08abd8226ecef58d751e1d | |
parent | 7c6b18fb5494a1da2421b16c42d31fc466c38362 [diff] [blame] |
expo: Make scene_obj_find() take a const scene This does not change the scene, so mark the pointer const. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/boot/scene.c b/boot/scene.c index e523333..b4c36c4 100644 --- a/boot/scene.c +++ b/boot/scene.c
@@ -79,7 +79,7 @@ return count; } -void *scene_obj_find(struct scene *scn, uint id, enum scene_obj_t type) +void *scene_obj_find(const struct scene *scn, uint id, enum scene_obj_t type) { struct scene_obj *obj;