kernel_optimize_test/arch/arm/mach-mv78xx0
Arnd Bergmann d3201ede94 ARM: mv78xx0: avoid unused function warning
mv78xx0 produces a harmless warning when CONFIG_CACHE_FEROCEON_L2 is
disabled:

arch/arm/mach-mv78xx0/common.c:385:19: warning: 'is_l2_writethrough' defined but not used [-Wunused-function]

This avoids the warning by changing the #ifdef to an if(IS_ENABLED())
check with the same resulting object code.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-25 15:38:38 +01:00
..
bridge-regs.h ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
buffalo-wxl-setup.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
common.c ARM: mv78xx0: avoid unused function warning 2016-02-25 15:38:38 +01:00
common.h reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
db78x00-bp-setup.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
irq.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
irqs.h ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
Kconfig ARM: mv78xx0: multiplatform support 2015-12-07 18:17:41 +01:00
Makefile ARM: mv78xx0: multiplatform support 2015-12-07 18:17:41 +01:00
Makefile.boot
mpp.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
mpp.h
mv78xx0.h ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
pcie.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
rd78x00-masa-setup.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00