mfd: db8500-prcmu: fix some doc warnings
Subsystems (2)
PATCH 1/1 mfd: db8500-prcmu: fix some doc warnings
Fix the following W=1 warnings:
drivers/mfd/db8500-prcmu.c:624: warning: expecting prototype for prcmu_get_current_mode(). Prototype was for prcmu_get_xp70_current_state() instead drivers/mfd/db8500-prcmu.c:908: warning: expecting prototype for db8500_set_ape_opp(). Prototype was for db8500_prcmu_set_ape_opp() instead drivers/mfd/db8500-prcmu.c:2303: warning: expecting prototype for db8500_prcmu_reset_modem(). Prototype was for db8500_prcmu_modem_reset() instead
--- drivers/mfd/db8500-prcmu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/mfd/db8500-prcmu.c +3 -3
@@ -616,7 +616,7 @@ enum romcode_read prcmu_get_rc_p2a(void) }/** -* prcmu_get_current_mode - Return the current XP70 power mode +* prcmu_get_xp70_current_state - Return the current XP70 power mode * Returns: Returns the current AP(ARM) power mode: init, * apBoot, apExecute, apDeepSleep, apSleep, apIdle, apReset */
@@ -898,7 +898,7 @@ static void request_even_slower_clocks(bool enable) }/** -* db8500_set_ape_opp - set the appropriate APE OPP +* db8500_prcmu_set_ape_opp - set the appropriate APE OPP * @opp: The new APE operating point to which transition is to be made * Returns: 0 on success, non-zero on failure *
@@ -2297,7 +2297,7 @@ u16 db8500_prcmu_get_reset_code(void) }/** -* db8500_prcmu_reset_modem - ask the PRCMU to reset modem +* db8500_prcmu_modem_reset - ask the PRCMU to reset modem */ void db8500_prcmu_modem_reset (void ) {
Signature · 7 lines
2.25.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 5 lines · Yang Yingliang
Fix the following W=1 warnings:
drivers/mfd/db8500-prcmu.c:624: warning: expecting prototype forprcmu_get_current_mode(). Prototype was forprcmu_get_xp70_current_state()insteaddrivers/mfd/db8500-prcmu.c:908: warning: expecting prototype fordb8500_set_ape_opp(). Prototype was fordb8500_prcmu_set_ape_opp()insteaddrivers/mfd/db8500-prcmu.c:2303: warning: expecting prototype fordb8500_prcmu_reset_modem(). Prototype was fordb8500_prcmu_modem_reset()instead
Thanks for the patch.
These are already fixed in -next.
Quoted 4 lines
Signed-off-by Yang Yingliang <[email protected]>--- drivers/mfd/db8500-prcmu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 4 lines
Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog