Skip to content

Commit 2ecdbeb

Browse files
krzkSuzuki K Poulose
authored andcommitted
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 <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b47d1fc commit 2ecdbeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwtracing/coresight/coresight-catu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ static void catu_remove(struct amba_device *adev)
594594
__catu_remove(&adev->dev);
595595
}
596596

597-
static struct amba_id catu_ids[] = {
597+
static const struct amba_id catu_ids[] = {
598598
CS_AMBA_ID(0x000bb9ee),
599599
{},
600600
};

0 commit comments

Comments
 (0)