diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-03-10 23:28:57 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-03-13 14:09:15 +0000 |
commit | edfa970370a759c2c6a38b2884887937b1aea552 (patch) | |
tree | 188bc02469225f06bff119834e978a264884a893 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 833f43308234600e934e9c6fa70fd8b7eebc632b (diff) |
spi: rspi: Mark OF related data as maybe unused
Driver can match via ID or OF ID table, thus several OF-related methods
will be unused. Mark the OF structures as __maybe_unused so compiler
can drop them:
drivers/spi/spi-rspi.c:1203:29: error: ‘qspi_ops’ defined but not used [-Werror=unused-const-variable=]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions