OSDN Git Service

coresight: replicator: constify amba_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 24 Aug 2017 16:36:02 +0000 (22:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:06:48 +0000 (16:06 +0200)
commitc214f76213f9112c04077bc22c659dc2781d4029
tree9e97c3520879b278ed1bdd9eb9b6754a0a361bda
parent44d5af088b2e454ede49bc77eeec2ce5d0b9f079
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: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-dynamic-replicator.c