powerpc: Little endian fixes for platforms/powernv/opal.c
authorAlistair Popple <alistair@popple.id.au>
Mon, 23 Sep 2013 02:04:54 +0000 (12:04 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:48:42 +0000 (16:48 +1100)
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/opal.c

index 2911abe550f1d9182ce793f0ec4777b0c85295b7..4ffa75ef284bb86d6d8102d17abe6ecc35f30215 100644 (file)
@@ -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");