Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c214f762 authored by Arvind Yadav's avatar Arvind Yadav Committed by Greg Kroah-Hartman
Browse files

coresight: replicator: constify amba_id



amba_id are not supposed to change at runtime. All functions
working with const amba_id. So mark the non-const structs as const.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 44d5af08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ static const struct dev_pm_ops replicator_dev_pm_ops = {
			   NULL)
};

static struct amba_id replicator_ids[] = {
static const struct amba_id replicator_ids[] = {
	{
		.id     = 0x0003b909,
		.mask   = 0x0003ffff,