diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-02-22 14:38:59 +0300 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-02-24 12:48:49 +0300 |
commit | 2197cbc22c1be0cbbd361956fdb14335d5b018fd (patch) | |
tree | bf39afa64f90106c4359e4807ed2ef4b0af5ca4c | |
parent | 7b6d52e83705197372e850674d7b1eb4d0bb445c (diff) | |
download | linux-2197cbc22c1be0cbbd361956fdb14335d5b018fd.tar.xz |
coresight: tpdm: Constify amba_id table
'struct amba_id' table is not modified so can be changed to const for
more safety.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250222-coresight-const-arm-id-v1-3-69a377cd098b@linaro.org
-rw-r--r-- | drivers/hwtracing/coresight/coresight-tpdm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwtracing/coresight/coresight-tpdm.c b/drivers/hwtracing/coresight/coresight-tpdm.c index c38f9701665e..afc4c18dd35d 100644 --- a/drivers/hwtracing/coresight/coresight-tpdm.c +++ b/drivers/hwtracing/coresight/coresight-tpdm.c @@ -1305,7 +1305,7 @@ static void tpdm_remove(struct amba_device *adev) * Different TPDM has different periph id. * The difference is 0-7 bits' value. So ignore 0-7 bits. */ -static struct amba_id tpdm_ids[] = { +static const struct amba_id tpdm_ids[] = { { .id = 0x001f0e00, .mask = 0x00ffff00, |