OSDN Git Service

coresight: tpiu: constify amba_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 24 Aug 2017 16:36:05 +0000 (22:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:06:39 +0000 (16:06 +0200)
commit74bf16d0ded97fd6c52a69cfbfd868e9fae0a0bd
tree3b32c00daf19812c9eac1ebec9fd05223f9f1c69
parente3b786843589be374c1ba617be9f2d44429584e8
coresight: tpiu: 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-tpiu.c