mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 16:22:41 -04:00
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 <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-2-69a377cd098b@linaro.org
This commit is contained in:
committed by
Suzuki K Poulose
parent
2ecdbebefe
commit
7b6d52e837
@@ -331,7 +331,7 @@ static void tpda_remove(struct amba_device *adev)
|
||||
* Different TPDA has different periph id.
|
||||
* The difference is 0-7 bits' value. So ignore 0-7 bits.
|
||||
*/
|
||||
static struct amba_id tpda_ids[] = {
|
||||
static const struct amba_id tpda_ids[] = {
|
||||
{
|
||||
.id = 0x000f0f00,
|
||||
.mask = 0x000fff00,
|
||||
|
||||
Reference in New Issue
Block a user