]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: use device_initcall for imx_soc_device_init
authorPeng Fan <peng.fan@nxp.com>
Wed, 20 May 2020 05:51:27 +0000 (13:51 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 20 May 2020 15:03:42 +0000 (23:03 +0800)
commitce8d079f93ccd7a813c7ba9bacfa3d17ec1600f0
tree3f70f844fa1c817d1aedcc13792f5ba970130b4a
parent7f89543a188d0c0b71e4ace35e0b1032e906dc0b
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>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/cpu.c
arch/arm/mach-imx/mach-imx6q.c
arch/arm/mach-imx/mach-imx6sl.c
arch/arm/mach-imx/mach-imx6sx.c
arch/arm/mach-imx/mach-imx6ul.c
arch/arm/mach-imx/mach-imx7d.c
arch/arm/mach-imx/mach-imx7ulp.c
arch/arm/mach-imx/mach-vf610.c