diff options
author | Bin Meng <bmeng@tinylab.org> | 2023-09-26 16:43:34 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-10 16:19:43 -0400 |
commit | 0491cb8f9b819e90d02c33c7fb73b6dc70722e0a (patch) | |
tree | 140eead9524be952f543ab36fb833c16b5411bf2 | |
parent | 8897faba2d1d2e6802cd066580100685baa46f7f (diff) | |
download | u-boot-0491cb8f9b819e90d02c33c7fb73b6dc70722e0a.tar.gz u-boot-0491cb8f9b819e90d02c33c7fb73b6dc70722e0a.tar.bz2 u-boot-0491cb8f9b819e90d02c33c7fb73b6dc70722e0a.zip |
blk: host_dev: Make host_sb_detach_file() and host_sb_ops static
They are only used in drivers/block/host_dev.c.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | drivers/block/host_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/host_dev.c b/drivers/block/host_dev.c index 31c7814054..0b43f80a86 100644 --- a/drivers/block/host_dev.c +++ b/drivers/block/host_dev.c @@ -73,7 +73,7 @@ err_fname: return ret; } -int host_sb_detach_file(struct udevice *dev) +static int host_sb_detach_file(struct udevice *dev) { struct host_sb_plat *plat = dev_get_plat(dev); int ret; @@ -123,7 +123,7 @@ static int host_sb_bind(struct udevice *dev) return 0; } -struct host_ops host_sb_ops = { +static struct host_ops host_sb_ops = { .attach_file = host_sb_attach_file, .detach_file = host_sb_detach_file, }; |