diff options
| author | Simon Glass <[email protected]> | 2023-07-30 11:15:14 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2023-08-09 23:31:11 +0800 |
| commit | d7d78576bbfddd52b258771c9e926bd51b50d91e (patch) | |
| tree | cd0573b8fd3aba0c05d9a2e509716029740dee4b /common | |
| parent | 3a3543db519478cd174e4554691f3d4828902c79 (diff) | |
bootstd: Rename bootdev_setup_sibling_blk()
This name is a little confusing since it suggests that it sets up the
sibling block device. In fact it sets up a bootdev for it. Rename the
function to make this clearer.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/usb_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c index ac642757737..85774220ef2 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -246,7 +246,7 @@ static int usb_stor_probe_device(struct usb_device *udev) if (ret) return ret; - ret = bootdev_setup_sibling_blk(dev, "usb_bootdev"); + ret = bootdev_setup_for_sibling_blk(dev, "usb_bootdev"); if (ret) { int ret2; |
