diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-05-20 07:51:27 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-05-20 17:03:42 +0200 |
commit | d2199b34871b859d33cd08398af5f1530241cb4e (patch) | |
tree | 3f70f844fa1c817d1aedcc13792f5ba970130b4a /include/soc | |
parent | ARM: imx: pcm037: make pcm970_sja1000_platform_data static (diff) | |
download | linux-d2199b34871b859d33cd08398af5f1530241cb4e.tar.xz linux-d2199b34871b859d33cd08398af5f1530241cb4e.zip |
ARM: imx: use device_initcall for imx_soc_device_init
This is preparation to move imx_soc_device_init to drivers/soc/imx/
There is no reason to must put dt devices under /sys/devices/soc0,
they could also be under /sys/devices/platform, so we could
pass NULL as parent when calling of_platform_default_populate.
Following soc-imx8.c soc-imx-scu.c using device_initcall, need
to change return type to int type for imx_soc_device_init.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions