diff options
author | Arnd Bergmann <arnd@arndb.de> | 2025-02-25 21:11:52 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2025-03-11 10:57:51 +0800 |
commit | 4f8ec94af325d501904d7e86363bd162004161bd (patch) | |
tree | 9b4006006e09f83845e1f32dd71916485762e230 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) |
ARM: imx: mark imx53_suspend_sz as unused
Unused 'static const' variables cause a warning when building with
W=1, and imx53_suspend_sz has a definition for this as an
alternative when CONFIG_SUSPEND is disabled:
In file included from arch/arm/mach-imx/cpu.c:9:
arch/arm/mach-imx/common.h:101:18: error: 'imx53_suspend_sz' defined but not used [-Werror=unused-const-variable=]
It's still referenced though, so mark it as __maybe_unused, so
the one user can address the dummy copy and other files that include
the header don't produce a warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions