mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
drivers: ufs: remove unused ufs_post_bind() declaration
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>
This commit is contained in:
committed by
Neil Armstrong
parent
25f1425431
commit
47905f2846
@@ -7,7 +7,6 @@
|
||||
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <ufs.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/device_compat.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <ufs.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/device_compat.h>
|
||||
#include <zynqmp_firmware.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
#include <pci.h>
|
||||
#include <ufs.h>
|
||||
#include <dm/device_compat.h>
|
||||
#include "ufs.h"
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <dm.h>
|
||||
#include <dm/device_compat.h>
|
||||
#include <generic-phy.h>
|
||||
#include <ufs.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <interconnect.h>
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <ufs.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/device_compat.h>
|
||||
#include <linux/iopoll.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <ufs.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/device_compat.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <linux/err.h>
|
||||
#include <linux/ioport.h>
|
||||
#include <reset.h>
|
||||
#include <ufs.h>
|
||||
|
||||
#include "ufs.h"
|
||||
#include "unipro.h"
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
*/
|
||||
#include <clk.h>
|
||||
#include <dm.h>
|
||||
#include <ufs.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/device_compat.h>
|
||||
#include <linux/bitops.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
|
||||
|
||||
Reference in New Issue
Block a user