]> 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)
commit1a63a274f3809ce06d85286edad295dcec46c912
treecb35fc327be072a896a55cd1d1843f41ef7c1484
parent1a2d5048bf47730a113d5143bf847553ebfcd71a
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