powerpc/powernv: Fix endian issues with sensor code
authorAnton Blanchard <anton@samba.org>
Fri, 28 Mar 2014 05:34:10 +0000 (16:34 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 9 Apr 2014 02:52:49 +0000 (12:52 +1000)
commit9000c17dc0f9c910267d2661225c9d33a227b27e
tree66b0baf3e320446da2c335c53f6dc9be75d52e15
parentbb4398e1de739a13e06589fc04cbb2267ba59800
powerpc/powernv: Fix endian issues with sensor code

One OPAL call and one device tree property needed byte swapping.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-sensor.c