diff options
| author | Simon Glass <[email protected]> | 2025-05-02 08:46:22 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2025-05-30 09:49:32 +0100 |
| commit | 23d2ddf1b4663c497ae6223174c96138df8b675a (patch) | |
| tree | 7dc1a060d631b6dce8440d99b0c32238956f1526 /include | |
| parent | 5f993342962de816044f4172234ca7ecfd2bcaf6 (diff) | |
expo: Pass in the video device for cedit_prepare()
At present this function locates it own video device. Pass it in to
provide more flexibility.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/cedit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cedit.h b/include/cedit.h index a9305ceebcb..319a61aecb8 100644 --- a/include/cedit.h +++ b/include/cedit.h @@ -56,11 +56,11 @@ int cedit_run(struct expo *exp); * This ensures that all menus have a selected item. * * @exp: Expo to use - * @vid_privp: Set to private data for the video device + * @dev: Video device to use * @scnp: Set to the first scene * Return: scene ID of first scene if OK, -ve on error */ -int cedit_prepare(struct expo *exp, struct video_priv **vid_privp, +int cedit_prepare(struct expo *exp, struct udevice *vid_dev, struct scene **scnp); /** |
