]> git.ipfire.org Git - thirdparty/u-boot.git/commit
drivers: ufs: remove unused ufs_post_bind() declaration
authorJulien Stephan <jstephan@baylibre.com>
Tue, 3 Feb 2026 09:21:26 +0000 (10:21 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 2 Mar 2026 14:20:02 +0000 (15:20 +0100)
commit47905f28468e3524cb5f775f52928cdcc568815a
tree758e86d5d03c06582182ad6265c0a6d098d36145
parent25f142543196e5b5f0f9c916f15671dcd26eb2f7
drivers: ufs: remove unused ufs_post_bind() declaration

Commit 067c1b033282 ("ufs: Call ufs_scsi_bind() from uclass .post_bind")
inlined ufs_scsi_bind() into ufs_post_bind() as trivial
device_bind_driver() call.

ufs_scsi_bind() is no longer referenced anywhere in the codebase, so
drop its declaration from include/ufs.h.

Drivers used to include <ufs.h> to include prototype of ufs_scsi_bind()
function, so we can now safely remove such includes.

Fixes: 067c1b033282 ("ufs: Call ufs_scsi_bind() from uclass .post_bind")
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260203-cleanup-ufs-header-v1-1-4c10424485f0@baylibre.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/ufs/cdns-platform.c
drivers/ufs/ufs-amd-versal2.c
drivers/ufs/ufs-pci.c
drivers/ufs/ufs-qcom.c
drivers/ufs/ufs-renesas-rcar-gen5.c
drivers/ufs/ufs-renesas.c
drivers/ufs/ufs-rockchip.c
drivers/ufs/ufshcd-dwc.c
include/ufs.h