[PATCH 07/12] drm/msm/adreno: add temporary __maybe_unused
From: Rob Clark
Date: Tue Oct 20 2026 - 16:48:47 EST
To keep this series bisectable. This will be removed once there maybe-
unused protect tables are gone.
Signed-off-by: Rob Clark <robin.clark@xxxxxxxxxxxxxxxx>
---
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.h b/drivers/gpu/drm/msm/adreno/adreno_gpu.h
index 6d6e4c7cf919..c43efb85fde7 100644
--- a/drivers/gpu/drm/msm/adreno/adreno_gpu.h
+++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.h
@@ -168,7 +168,7 @@ struct adreno_protect {
};
#define DECLARE_ADRENO_PROTECT(name, __count_max) \
-static const struct adreno_protect name = { \
+static const struct adreno_protect name __maybe_unused = { \
.regs = name ## _regs, \
.count = ARRAY_SIZE(name ## _regs), \
.count_max = __count_max, \
--
2.56.0