]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: etm4x: constify amba_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 24 Aug 2017 16:36:00 +0000 (22:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:06:48 +0000 (16:06 +0200)
commit66b2e36001eb416ab3b8534a931e87b77eb3ff77
treecb35fc327be072a896a55cd1d1843f41ef7c1484
parent5897f6a1db5119ea093bfadcb806ef5328ecacfe
coresight: etm4x: 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-etm4x.c