linux/arch/arm/mach-socfpga
Arnd Bergmann 5d37e80b80 ARM: socfpga: hide unused functions
The cpu_die and cpu_kill callbacks are only used when CONFIG_HOTPLUG_CPU
is enabled, otherwise we get a warning about them:

arch/arm/mach-socfpga/platsmp.c:102:13: error: 'socfpga_cpu_die' defined but not used [-Werror=unused-function]
arch/arm/mach-socfpga/platsmp.c:115:12: error: 'socfpga_cpu_kill' defined but not used [-Werror=unused-function]

This adds the appropriate #ifdef.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
2016-02-26 17:44:54 +01:00
..
core.h ARM: socfpga: add reset for the Arria 10 platform 2015-07-20 15:44:43 -05:00
headsmp.S ARM: SoC: platform support for v4.2 2015-06-26 11:34:35 -07:00
Kconfig ARM: use "depends on" for SoC configs instead of "if" after prompt 2015-12-01 22:44:51 +01:00
Makefile ARM: socfpga: support suspend to ram 2015-06-10 16:02:11 -07:00
platsmp.c ARM: socfpga: hide unused functions 2016-02-26 17:44:54 +01:00
pm.c genalloc: add name arg to gen_pool_get() and devm_gen_pool_create() 2015-09-04 16:54:41 -07:00
self-refresh.S ARM: socfpga: support suspend to ram 2015-06-10 16:02:11 -07:00
socfpga.c ARM: socfpga: add reset for the Arria 10 platform 2015-07-20 15:44:43 -05:00