[PATCH 3/3] block: make blk_create_device() static
Simon Glass
sjg at chromium.org
Fri Oct 18 16:52:44 CEST 2024
On Thu, 17 Oct 2024 at 19:30, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> There are no users of the blk_create_device() function outside the uclass.
> Let's make it static. This will ensure that new block drivers will use
> blk_create_devicef().
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> drivers/block/blk-uclass.c | 19 ++++++++++++++++---
> include/blk.h | 17 -----------------
> 2 files changed, 16 insertions(+), 20 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list