]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: constify amba_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 24 Aug 2017 16:35:57 +0000 (22:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:06:48 +0000 (16:06 +0200)
commit745a30ac09fa71b12f6e67bc9ffd36bd0fbe8bfe
tree28af1cf010fe7c88fa5f795a6432183e6440896d
parent8a64d74cc06dee573a7960b06bfbbbfe8cc347c8
coresight: 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-cpu-debug.c