diff options
author | Alistair Popple <alistair@popple.id.au> | 2015-05-15 07:06:36 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-05-22 08:14:37 +0300 |
commit | 96e023e7534c16ab54e236c114340e2447c36d2f (patch) | |
tree | 0046af177fbbedc9f8d0cb2245fff4f6c596b547 /arch/powerpc/platforms/powernv/opal-memory-errors.c | |
parent | 5703d2f4a1da6d23b3be896947ce255226fc4295 (diff) | |
download | linux-96e023e7534c16ab54e236c114340e2447c36d2f.tar.xz |
powerpc/powernv: Reorder OPAL subsystem initialisation
Most of the OPAL subsystems are always compiled in for PowerNV and
many of them need to be initialised before or after other OPAL
subsystems. Rather than trying to control this ordering through
machine initcalls it is clearer and easier to control initialisation
order with explicit calls in opal_init.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Cc: Mahesh Jagannath Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-memory-errors.c')
-rw-r--r-- | arch/powerpc/platforms/powernv/opal-memory-errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-memory-errors.c b/arch/powerpc/platforms/powernv/opal-memory-errors.c index 43db2136dbff..00a29432be39 100644 --- a/arch/powerpc/platforms/powernv/opal-memory-errors.c +++ b/arch/powerpc/platforms/powernv/opal-memory-errors.c @@ -144,4 +144,4 @@ static int __init opal_mem_err_init(void) } return 0; } -machine_subsys_initcall(powernv, opal_mem_err_init); +machine_device_initcall(powernv, opal_mem_err_init); |