arm: perf: make of_device_ids const
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 15 Jun 2017 09:25:37 +0000 (14:55 +0530)
committerWill Deacon <will.deacon@arm.com>
Thu, 15 Jun 2017 10:07:34 +0000 (11:07 +0100)
commitd5f7b828ffab28e5684913e76697e94e2442d164
treed37e5514f698f7ee1f24c746a527cd1c50c987e3
parentfe7296e19221c6dc125a06b52e28ccbdb76d9b58
arm: perf: make of_device_ids const

of_device_ids are not supposed to change at runtime. All functions
working with of_device_ids provided by <linux/of.h> work with const
of_device_ids. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_v6.c