Home
last modified time | relevance | path

Searched hist:"03949 b1c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/sparc/kernel/
H A Dleon_pci_grpci2.c03949b1c Sat Aug 26 06:28:34 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> sparc: leon: grpci2: 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>
03949b1c Sat Aug 26 06:28:34 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> sparc: leon: grpci2: 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>