]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc/time: make of_device_ids const
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 15 Jun 2017 11:00:20 +0000 (16:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 15:25:19 +0000 (08:25 -0700)
commitc55c5ddedba0c393683910eeeb760903d0d1f827
tree75219444145cb17317c6da6195ee5a05dbc38523
parent4432711a48f1dca6c82c4d2742b5033abddf177a
sparc/time: 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/time_32.c