diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-02-23 15:06:38 +0100 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-02-25 15:38:38 +0100 |
commit | d3201ede944a15eca0f13d2d49b322974f623a4a (patch) | |
tree | c0814c113407f7a649e3ab650baa8d1910fe8b1b /arch/arm/plat-iop | |
parent | 993e221518a0425272dda85b73b27c827d4e5fad (diff) | |
download | linux-d3201ede944a15eca0f13d2d49b322974f623a4a.tar.gz linux-d3201ede944a15eca0f13d2d49b322974f623a4a.tar.xz |
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>
Diffstat (limited to 'arch/arm/plat-iop')
0 files changed, 0 insertions, 0 deletions