]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: deconstruct mxc_rnga initialization
authorArnd Bergmann <arnd@arndb.de>
Fri, 24 Jun 2016 10:49:57 +0000 (12:49 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 28 Jun 2016 02:26:34 +0000 (10:26 +0800)
commita1732ee1a6b767c2c4901047a3067fb080a8a4a1
tree9172521013d3755639b67c458f373db701e7f81a
parentbe0eca2417c82daa15ac7f74c4ebe3a1f90ae20a
ARM: imx: deconstruct mxc_rnga initialization

The rnga platform device is initialized for all imx31 machines
from its own initcall, but is never initialized anywhere else.

This moves the platform device creation into both the imx31
dt and non-dt machine init sequences, which has basically the
exact same effect as before, but makes it more obvious what
is going on, while reducing the amount of code and removing
the last user of cpu_is_mx31().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/devices/Kconfig
arch/arm/mach-imx/devices/platform-mxc_rnga.c [deleted file]
arch/arm/mach-imx/imx31-dt.c
arch/arm/mach-imx/mm-imx3.c