soc: mtk-pmic-wrap: make of_device_ids const.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 28 Jun 2017 04:58:21 +0000 (10:28 +0530)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 2 Aug 2017 10:38:53 +0000 (12:38 +0200)
commit2ae24fb16ca48882995fc229e40ca7806acd2b00
tree72bef0587b05c086b781df0b7750c9d5e4f3d0be
parent3b99ab7deca1e5f4229b4bdecd005d71e22cfc60
soc: mtk-pmic-wrap: 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>
Acked-by: Chen Zhong <chen.zhong@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c