]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: Silence SYSPARAM warning on boot
authorJoel Stanley <joel@jms.id.au>
Thu, 30 Apr 2015 03:50:07 +0000 (13:50 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2015 10:26:42 +0000 (20:26 +1000)
commit38c0488770983b2654f075540cc1fc71f55b6df5
tree0c96338b2dd6a715a8e6fe1a2c48b7c2dce6cc9a
parenta14ab6b6e0ad54bf872ce987f5b48f338d6780c8
powerpc/powernv: Silence SYSPARAM warning on boot

OpenPower BMC machines do not place any sysparams in the device tree, so
at every boot we get a warning:

 [    0.437176] SYSPARAM: Opal sysparam node not found

Remove the warning, and reorder the init so we don't peform allocations
when there is no sysparam node in the device tree.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-sysparam.c