coresight: use const for device_node structures
authorLeo Yan <leo.yan@linaro.org>
Mon, 5 Jun 2017 20:15:06 +0000 (14:15 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:45:24 +0000 (11:45 +0200)
commitf42fe520e449bda213f035478ddc9cf99e9082ac
treef3f89e45a2229ca2494f77a9c24b4cc9b4bf8507
parent2cd541402829e7cc6621d2fc0ef329321559cb26
coresight: use const for device_node structures

Almost low level functions from open firmware have used const to
qualify device_node structures, so add const for device_node
parameters in of_coresight related functions.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/of_coresight.c
include/linux/coresight.h