From: Krzysztof Kozlowski Date: Sat, 22 Feb 2025 11:38:57 +0000 (+0100) Subject: coresight: catu: Constify amba_id table X-Git-Tag: v6.15-rc1~78^2^2~31 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2ecdbebefea7ecb007c89c5f998125e9a86afce3;p=linux.git coresight: catu: 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 Signed-off-by: Suzuki K Poulose Link: https://lore.kernel.org/r/20250222-coresight-const-arm-id-v1-1-69a377cd098b@linaro.org --- diff --git a/drivers/hwtracing/coresight/coresight-catu.c b/drivers/hwtracing/coresight/coresight-catu.c index 3378bb77e6b4..fa170c966bc3 100644 --- a/drivers/hwtracing/coresight/coresight-catu.c +++ b/drivers/hwtracing/coresight/coresight-catu.c @@ -594,7 +594,7 @@ static void catu_remove(struct amba_device *adev) __catu_remove(&adev->dev); } -static struct amba_id catu_ids[] = { +static const struct amba_id catu_ids[] = { CS_AMBA_ID(0x000bb9ee), {}, };