diff options
author | Arnd Bergmann <[email protected]> | 2016-02-23 15:39:38 +0100 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2016-03-02 17:31:08 +0100 |
commit | e91fb3bd757569aca48785358a4adbf41334d382 (patch) | |
tree | 1cd0278d9bcda3a31495d530bbf3e4e394f679d0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1c277cae146b7c3aec0c6ee26dcc4086601a5bca (diff) |
ARM: at91: avoid defining CONFIG_* symbols in source code
In an invalid randconfig build (fixed by another patch),
I ran across this warning:
arch/arm/include/debug/at91.S:18:0: error: "CONFIG_DEBUG_UART_VIRT" redefined [-Werror]
#define CONFIG_DEBUG_UART_VIRT AT91_IO_P2V(CONFIG_DEBUG_UART_PHYS)
As Russell pointed out, we should never #define a macro starting
with CONFIG_ in a source file, as that is rather confusing.
This renames the macro to avoid the symbol clash.
Signed-off-by: Arnd Bergmann <[email protected]>
Suggested-by: Russell King <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions