Skip to content

Commit 2197cbc

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwtracing/coresight/coresight-tpdm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ static void tpdm_remove(struct amba_device *adev)
13051305
* Different TPDM has different periph id.
13061306
* The difference is 0-7 bits' value. So ignore 0-7 bits.
13071307
*/
1308-
static struct amba_id tpdm_ids[] = {
1308+
static const struct amba_id tpdm_ids[] = {
13091309
{
13101310
.id = 0x001f0e00,
13111311
.mask = 0x00ffff00,

0 commit comments

Comments
 (0)