Commit d5db88b0 authored by Lee Jones's avatar Lee Jones Committed by Martin K. Petersen

scsi: ufs: cdns-pltfrm: Supply function names for headers

Fixes the following W=1 kernel build warning(s):

 drivers/scsi/ufs/cdns-pltfrm.c:109: warning: expecting prototype for Sets HCLKDIV register value based on the core_clk(). Prototype was for cdns_ufs_set_hclkdiv() instead
 drivers/scsi/ufs/cdns-pltfrm.c:144: warning: wrong kernel-doc identifier on line:
 drivers/scsi/ufs/cdns-pltfrm.c:160: warning: wrong kernel-doc identifier on line:
 drivers/scsi/ufs/cdns-pltfrm.c:176: warning: wrong kernel-doc identifier on line:

Link: https://lore.kernel.org/r/20210312094738.2207817-17-lee.jones@linaro.org
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: Avri Altman <avri.altman@wdc.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Stanley Chu <stanley.chu@mediatek.com>
Cc: Jan Kotas <jank@cadence.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent f6b35a75
...@@ -100,6 +100,7 @@ static void cdns_ufs_set_l4_attr(struct ufs_hba *hba) ...@@ -100,6 +100,7 @@ static void cdns_ufs_set_l4_attr(struct ufs_hba *hba)
} }
/** /**
* cdns_ufs_set_hclkdiv()
* Sets HCLKDIV register value based on the core_clk * Sets HCLKDIV register value based on the core_clk
* @hba: host controller instance * @hba: host controller instance
* *
...@@ -141,6 +142,7 @@ static int cdns_ufs_set_hclkdiv(struct ufs_hba *hba) ...@@ -141,6 +142,7 @@ static int cdns_ufs_set_hclkdiv(struct ufs_hba *hba)
} }
/** /**
* cdns_ufs_hce_enable_notify()
* Called before and after HCE enable bit is set. * Called before and after HCE enable bit is set.
* @hba: host controller instance * @hba: host controller instance
* @status: notify stage (pre, post change) * @status: notify stage (pre, post change)
...@@ -157,6 +159,7 @@ static int cdns_ufs_hce_enable_notify(struct ufs_hba *hba, ...@@ -157,6 +159,7 @@ static int cdns_ufs_hce_enable_notify(struct ufs_hba *hba,
} }
/** /**
* cdns_ufs_hibern8_notify()
* Called around hibern8 enter/exit. * Called around hibern8 enter/exit.
* @hba: host controller instance * @hba: host controller instance
* @cmd: UIC Command * @cmd: UIC Command
...@@ -173,6 +176,7 @@ static void cdns_ufs_hibern8_notify(struct ufs_hba *hba, enum uic_cmd_dme cmd, ...@@ -173,6 +176,7 @@ static void cdns_ufs_hibern8_notify(struct ufs_hba *hba, enum uic_cmd_dme cmd,
} }
/** /**
* cdns_ufs_link_startup_notify()
* Called before and after Link startup is carried out. * Called before and after Link startup is carried out.
* @hba: host controller instance * @hba: host controller instance
* @status: notify stage (pre, post change) * @status: notify stage (pre, post change)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment