mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-18 01:40:58 +00:00
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>
This commit is contained in:
parent
8897faba2d
commit
0491cb8f9b
@ -73,7 +73,7 @@ err_fname:
|
|||||||
return ret;
|
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);
|
struct host_sb_plat *plat = dev_get_plat(dev);
|
||||||
int ret;
|
int ret;
|
||||||
@ -123,7 +123,7 @@ static int host_sb_bind(struct udevice *dev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct host_ops host_sb_ops = {
|
static struct host_ops host_sb_ops = {
|
||||||
.attach_file = host_sb_attach_file,
|
.attach_file = host_sb_attach_file,
|
||||||
.detach_file = host_sb_detach_file,
|
.detach_file = host_sb_detach_file,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user