]> git.hungrycats.org Git - linux/commit
scsi: ufs: Declare ufshcd_{hold,release}() once
authorBart Van Assche <bvanassche@acm.org>
Mon, 29 May 2023 20:26:39 +0000 (13:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:46 +0000 (19:39 +0200)
commit34bc699225d77e4a6519e65b2e48a5ff410166fd
tree92142e1c952ab0621b9b497af86dad7cafceffcb
parentc84eedd2a9dca8f110ec0098978810e6e16f560e
scsi: ufs: Declare ufshcd_{hold,release}() once

[ Upstream commit 4b68b7f9c46d90c541d39c8b397a86ac0ca4c765 ]

ufshcd_hold() and ufshcd_release are declared twice: once in
drivers/ufs/core/ufshcd-priv.h and a second time in include/ufs/ufshcd.h.
Remove the declarations from ufshcd-priv.h.

Fixes: dd11376b9f1b ("scsi: ufs: Split the drivers/scsi/ufs directory")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230529202640.11883-5-bvanassche@acm.org
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Keoseong Park <keosung.park@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ufs/core/ufshcd-priv.h