Message ID | 20211124093254.1054750-1-mpe@ellerman.id.au (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [1/6] powerpc/85xx: Fix no previous prototype warning for mpc85xx_setup_pmc() | expand |
On Wed, 24 Nov 2021 20:32:49 +1100, Michael Ellerman wrote: > Fixes the following W=1 warning: > arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c:89:12: warning: no previous prototype for 'mpc85xx_setup_pmc' > > Applied to powerpc/next. [1/6] powerpc/85xx: Fix no previous prototype warning for mpc85xx_setup_pmc() https://git.kernel.org/powerpc/c/4ea9e321c27fd531a8dfe0fa1d1b2ee15fc3444e [2/6] powerpc/85xx: Make mpc85xx_smp_kexec_cpu_down() static https://git.kernel.org/powerpc/c/84a61fb43fdfc528a3a7ff00e0b14ba91f5eb745 [3/6] powerpc/85xx: Make c293_pcie_pic_init() static https://git.kernel.org/powerpc/c/d9150d5bb5586dc20b6c424e59d5ea29fe1b3030 [4/6] powerpc/mm: Move tlbcam_sz() and make it static https://git.kernel.org/powerpc/c/ff47a95d1a67477e9bc2049a840d93b68508e079 [5/6] powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING https://git.kernel.org/powerpc/c/a4ac0d249a5db80e79d573db9e4ad29354b643a8 [6/6] powerpc: Mark probe_machine() __init and static https://git.kernel.org/powerpc/c/ab85a273957eadfcf7906bcd8a0adf5909d802ee cheers
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c b/arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c index 4a8af80011a6..f7ac92a8ae97 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c @@ -15,6 +15,8 @@ #include <asm/io.h> #include <asm/fsl_pm.h> +#include "smp.h" + static struct ccsr_guts __iomem *guts; #ifdef CONFIG_FSL_PMC
Fixes the following W=1 warning: arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c:89:12: warning: no previous prototype for 'mpc85xx_setup_pmc' Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> --- arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c | 2 ++ 1 file changed, 2 insertions(+)