]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: leon: grpci1: constify of_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 26 Aug 2017 11:28:48 +0000 (16:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 22:48:46 +0000 (15:48 -0700)
commit95e5dab8dc6fa88c27f2391995722d0404a87350
treec6e6296a0689c4fe132bfd7aeed144b594ecb0ca
parent6c298be5ff2b266d069d8a7720822429f468534d
sparc: leon: grpci1: constify of_device_id

of_device_id are not supposed to change at runtime. All functions
working with of_device_id provided by <linux/of.h> work with const
of_device_ids. So mark the const and __initconst.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/leon_pci_grpci1.c