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

* Silence APMU build warnings
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJVsfIIAAoJENfPZGlqN0++4rQQAIj27EoVkb3IRct8KH68YwwJ
 EB+kGP8cGlfTOwz59X0rNjs1c9Gxk0vplFn/nUGE/9q8VjTJGM8GFbsgkpBTjhWZ
 B3hEBQfmnmWtuShSPJdVwN82/Xemrj8aN1ny//bDXTrdYYjOw/qOfaHyOYehKg0t
 1gjWUDpfMzhj/7nHWZ4c8uMKhUrm1kWlol2p7rkf/pnW/U19nQ6NvfGMEa5bDfid
 IRbAHHyyLOs61oNhXV8l20qQqDWjY0nq/gw2ihEuP8MV5cuLHofpKmJfpLrUNVpv
 jBugFAzMvMLCFgOEaS2UIzwWFRQyPHQARSvOZHJEqNvsM9CQ2KMU7UOfZobgbjNX
 MUkxmrv3Nw3R4vqLySrOmdSRNeI6813Tt76A27h8A1ZkSuAfxlx+K3itewuQwoY/
 BCrauIip4BLeyGmKBctkynkI267wwYT7ONunSoTxf/YWQx8K2nVe9ZC0Dsbxnh9n
 U9JUSssZmZKJk+3MmdnRhEGTWWFkoACgkGitc2diFwt3f+pSy/Pqhk5o0boUHdzw
 qVzFOM0ikEcvxuVn5fETqbCM1McZNfW3K9+qM580IVGIHGQsaVVYoJwxtBEo2kKm
 gBeMIfRvHbnjw/I6NJtVna3xHRq7ljDLqcDpA4CqRrZWXmEuU3n7VBWJSyHFFTVv
 4TN950dT9MJgu8JtZRdJ
 =buS4
 -----END PGP SIGNATURE-----

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: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2015-07-27 14:27:13 +02:00
commit a115681460
1 changed files with 2 additions and 2 deletions

View File

@ -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;