diff options
author | Arnd Bergmann <[email protected]> | 2016-02-23 15:06:39 +0100 |
---|---|---|
committer | Gregory CLEMENT <[email protected]> | 2016-02-25 15:39:20 +0100 |
commit | 60f23952317a34e8d41c22a6058dcb7bdaf91b96 (patch) | |
tree | 9ae8b0715e7ff739cba35a88f4b32925844fddf6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d3201ede944a15eca0f13d2d49b322974f623a4a (diff) |
ARM: mvebu: mark mvebu_hwcc_pci_nb as __maybe_unused
The coherency notifier block is only used when CONFIG_PCI
is enabled, otherwise we get a warning:
arch/arm/mach-mvebu/coherency.c:110:30: warning: 'mvebu_hwcc_pci_nb' defined but not used [-Wunused-variable]
There is no nice way to use an if(IS_ENABLED()) check here to
let the compiler know that it might be used, so let's mark
the structure as __maybe_unused.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Acked-by: Jason Cooper <[email protected]>
Signed-off-by: Gregory CLEMENT <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions