sparc: kernel: pmc: make of_device_ids const.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 27 Jun 2017 09:09:58 +0000 (14:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jul 2017 09:53:07 +0000 (02:53 -0700)
commit0cd52df8a782be2e6592d331094a313d8947683a
treed3f08f9feed40929d42235bc767388df8afc750f
parenta718d1392700bb7420ba26051ec35c20107ac981
sparc: kernel: pmc: 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: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pmc.c