diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-06-28 04:22:16 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-06-28 04:26:40 +0200 |
commit | 48e076dadd0a79047befa539487d8645ded0b7e7 (patch) | |
tree | 64e419bda75c07934bcf1a66708140b706dbac6c /arch/arm/mach-imx/imx27-dt.c | |
parent | ARM: imx: deconstruct mx3_idle (diff) | |
download | linux-48e076dadd0a79047befa539487d8645ded0b7e7.tar.xz linux-48e076dadd0a79047befa539487d8645ded0b7e7.zip |
ARM: imx: rework mx27_pm_init() call
mx27_pm_init() uses its own initcall, unlike all of the other
functions like it. Replacing the initcall with a .init_late()
callback makes imx27 more like the others and lets us remove
the last caller of cpu_is_mx27().
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/imx27-dt.c')
-rw-r--r-- | arch/arm/mach-imx/imx27-dt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx27-dt.c b/arch/arm/mach-imx/imx27-dt.c index 530a728c2acc..a754b8a48f38 100644 --- a/arch/arm/mach-imx/imx27-dt.c +++ b/arch/arm/mach-imx/imx27-dt.c @@ -27,5 +27,6 @@ DT_MACHINE_START(IMX27_DT, "Freescale i.MX27 (Device Tree Support)") .map_io = mx27_map_io, .init_early = imx27_init_early, .init_irq = mx27_init_irq, + .init_late = imx27_pm_init, .dt_compat = imx27_dt_board_compat, MACHINE_END |