pinctrl: imx7: move soc info to data section
authorPeng Fan <peng.fan@nxp.com>
Sat, 30 May 2020 08:37:39 +0000 (16:37 +0800)
committerPeng Fan <peng.fan@nxp.com>
Tue, 14 Jul 2020 07:23:46 +0000 (15:23 +0800)
commit58db844fc87749db08224fd536d5b95453f8b456
tree76f60867ba998502fa65ac73ac2b987eda68baa6
parentb335966958a93e49439bf248adadce89e7e2bee3
pinctrl: imx7: move soc info to data section

The soc info without initialization value should be put into
data section. The driver could be used before relocation,
with it in BSS section could cause issue, since BSS section
is not initializated and it might overwrite other areas that
used by others, such as dtb.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/pinctrl/nxp/pinctrl-imx7.c