diff options
| author | Julien Stephan <[email protected]> | 2026-02-03 10:21:26 +0100 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2026-03-02 15:20:02 +0100 |
| commit | 47905f28468e3524cb5f775f52928cdcc568815a (patch) | |
| tree | 758e86d5d03c06582182ad6265c0a6d098d36145 /include | |
| parent | 25f142543196e5b5f0f9c916f15671dcd26eb2f7 (diff) | |
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 <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/ufs.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/ufs.h b/include/ufs.h index 702b8359dbd..f6e27d90e43 100644 --- a/include/ufs.h +++ b/include/ufs.h @@ -20,13 +20,4 @@ int ufs_probe(void); */ int ufs_probe_dev(int index); -/* - * ufs_scsi_bind() - Create a new scsi device as a child of the UFS device and - * bind it to the ufs_scsi driver - * @ufs_dev: UFS device - * @scsi_devp: Pointer to scsi device - * - * Return: 0 if Ok, -ve on error - */ -int ufs_scsi_bind(struct udevice *ufs_dev, struct udevice **scsi_devp); #endif |
