]> 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)
commitaa6556ad98af9c81c144e919b9a433af2f525dfa
tree28af1cf010fe7c88fa5f795a6432183e6440896d
parent18b4bf210a743cc0211a1503c9c588d466aa8f09
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