summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vsock.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-03-10 23:28:57 +0100
committerMark Brown <broonie@kernel.org>2023-03-13 14:09:15 +0000
commitedfa970370a759c2c6a38b2884887937b1aea552 (patch)
tree188bc02469225f06bff119834e978a264884a893 /drivers/vhost/vsock.c
parent833f43308234600e934e9c6fa70fd8b7eebc632b (diff)
downloadlinux-stable-edfa970370a759c2c6a38b2884887937b1aea552.tar.gz
linux-stable-edfa970370a759c2c6a38b2884887937b1aea552.tar.bz2
linux-stable-edfa970370a759c2c6a38b2884887937b1aea552.zip
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 <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230310222857.315629-16-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/vhost/vsock.c')
0 files changed, 0 insertions, 0 deletions