commit | 2ae24fb16ca48882995fc229e40ca7806acd2b00 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Wed Jun 28 10:28:21 2017 +0530 |
committer | Matthias Brugger <matthias.bgg@gmail.com> | Wed Aug 02 12:38:53 2017 +0200 |
tree | 72bef0587b05c086b781df0b7750c9d5e4f3d0be | |
parent | 3b99ab7deca1e5f4229b4bdecd005d71e22cfc60 [diff] |
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>