]> git.dujemihanovic.xyz Git - u-boot.git/commit
block: make blk_create_device() static
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 18 Oct 2024 01:30:15 +0000 (03:30 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 24 Oct 2024 17:20:58 +0000 (11:20 -0600)
commitdb7e81154ec0bbd62dbb44ac225d22729988078e
treee81b686e934040b10d59d7644be75756cb73201a
parent9c19c13bda41b613e7e0e5d48d4d1c95fe8691eb
block: make blk_create_device() static

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@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/block/blk-uclass.c
include/blk.h