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>
This commit is contained in:
Arvind Yadav 2017-08-24 22:05:57 +05:30 committed by Greg Kroah-Hartman
parent 5959f3d797
commit 0875957e4b

View file

@ -667,7 +667,7 @@ static int debug_remove(struct amba_device *adev)
return 0;
}
static struct amba_id debug_ids[] = {
static const struct amba_id debug_ids[] = {
{ /* Debug for Cortex-A53 */
.id = 0x000bbd03,
.mask = 0x000fffff,