Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1156814 authored by Olof Johansson's avatar Olof Johansson
Browse files

Merge tag 'renesas-cleanup2-for-v4.3' of...

Merge tag 'renesas-cleanup2-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/cleanup

Second Round of Renesas ARM Based SoC Cleanup for v4.3

* Silence APMU build warnings

* tag 'renesas-cleanup2-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas

:
  ARM: shmobile: apmu: silence build warnings

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents 9521f492 151dd346
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ static int __maybe_unused apmu_power_on(void __iomem *p, int bit)
	return 0;
}

static int apmu_power_off(void __iomem *p, int bit)
static int __maybe_unused apmu_power_off(void __iomem *p, int bit)
{
	/* request Core Standby for next WFI */
	writel_relaxed(3, p + CPUNCR_OFFS(bit));
@@ -67,7 +67,7 @@ static int __maybe_unused apmu_power_off_poll(void __iomem *p, int bit)
	return 0;
}

static int apmu_wrap(int cpu, int (*fn)(void __iomem *p, int cpu))
static int __maybe_unused apmu_wrap(int cpu, int (*fn)(void __iomem *p, int cpu))
{
	void __iomem *p = apmu_cpus[cpu].iomem;