scsi: ufs: Declare ufshcd_{hold,release}() once
authorBart Van Assche <bvanassche@acm.org>
Mon, 29 May 2023 20:26:39 +0000 (13:26 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 31 May 2023 15:42:46 +0000 (11:42 -0400)
commit4b68b7f9c46d90c541d39c8b397a86ac0ca4c765
tree807434b5e27a1627fe8491d5f668a1f3484c7c14
parent6c03c8e9b729a1ca2131a187233f8836a66a277b
scsi: ufs: Declare ufshcd_{hold,release}() once

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>
drivers/ufs/core/ufshcd-priv.h