mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
Commit067c1b0332("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:067c1b0332("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>
24 lines
424 B
C
24 lines
424 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
#ifndef _UFS_H
|
|
#define _UFS_H
|
|
|
|
struct udevice;
|
|
|
|
/**
|
|
* ufs_probe() - initialize all devices in the UFS uclass
|
|
*
|
|
* Return: 0 if Ok, -ve on error
|
|
*/
|
|
int ufs_probe(void);
|
|
|
|
/**
|
|
* ufs_probe_dev() - initialize a particular device in the UFS uclass
|
|
*
|
|
* @index: index in the uclass sequence
|
|
*
|
|
* Return: 0 if successfully probed, -ve on error
|
|
*/
|
|
int ufs_probe_dev(int index);
|
|
|
|
#endif
|