From: Bin Meng Date: Tue, 26 Sep 2023 08:43:37 +0000 (+0800) Subject: blk: blkmap: Make bind/unbind routines static X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=6efca7feae5f135753bc8d936126e704c3b45568;p=u-boot.git blk: blkmap: Make bind/unbind routines static These 2 are only used in drivers/block/blkmap.c. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/drivers/block/blkmap.c b/drivers/block/blkmap.c index 409aa46de2..f6acfa8927 100644 --- a/drivers/block/blkmap.c +++ b/drivers/block/blkmap.c @@ -383,7 +383,7 @@ U_BOOT_DRIVER(blkmap_blk) = { .ops = &blkmap_blk_ops, }; -int blkmap_dev_bind(struct udevice *dev) +static int blkmap_dev_bind(struct udevice *dev) { struct blkmap *bm = dev_get_plat(dev); struct blk_desc *bd; @@ -410,7 +410,7 @@ int blkmap_dev_bind(struct udevice *dev) return 0; } -int blkmap_dev_unbind(struct udevice *dev) +static int blkmap_dev_unbind(struct udevice *dev) { struct blkmap *bm = dev_get_plat(dev); struct blkmap_slice *bms, *tmp;