Skip to content

Commit 7b6d52e

Browse files
krzkSuzuki K Poulose
authored andcommitted
coresight: tpda: 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 2ecdbeb commit 7b6d52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwtracing/coresight/coresight-tpda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ static void tpda_remove(struct amba_device *adev)
331331
* Different TPDA has different periph id.
332332
* The difference is 0-7 bits' value. So ignore 0-7 bits.
333333
*/
334-
static struct amba_id tpda_ids[] = {
334+
static const struct amba_id tpda_ids[] = {
335335
{
336336
.id = 0x000f0f00,
337337
.mask = 0x000fff00,

0 commit comments

Comments
 (0)