From: Alistair Popple Date: Mon, 23 Sep 2013 02:04:54 +0000 (+1000) Subject: powerpc: Little endian fixes for platforms/powernv/opal.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1cc79bc80606229b0e7e56c76ee3cb3594409aa9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git powerpc: Little endian fixes for platforms/powernv/opal.c Signed-off-by: Alistair Popple Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c index 2911abe550f1..4ffa75ef284b 100644 --- a/arch/powerpc/platforms/powernv/opal.c +++ b/arch/powerpc/platforms/powernv/opal.c @@ -372,7 +372,7 @@ static irqreturn_t opal_interrupt(int irq, void *data) static int __init opal_init(void) { struct device_node *np, *consoles; - const u32 *irqs; + const __be32 *irqs; int rc, i, irqlen; opal_node = of_find_node_by_path("/ibm,opal");