]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pinctrl: freescale: imx7d: make of_device_ids const.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 27 Jun 2017 11:55:21 +0000 (17:25 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Jun 2017 12:56:36 +0000 (14:56 +0200)
commitb3060044e4951fea7cdbd25310f78c438bba71c9
tree4a58adcc68e6b318b3ec855beafbce6e602274ff
parent857f9dc3f60fba212285eae7b3266559c355a616
pinctrl: freescale: imx7d: 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: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-imx7d.c