Commit 1cc79bc8 authored by Alistair Popple's avatar Alistair Popple Committed by Benjamin Herrenschmidt

powerpc: Little endian fixes for platforms/powernv/opal.c

Signed-off-by: default avatarAlistair Popple <alistair@popple.id.au>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent a0588015
...@@ -372,7 +372,7 @@ static irqreturn_t opal_interrupt(int irq, void *data) ...@@ -372,7 +372,7 @@ static irqreturn_t opal_interrupt(int irq, void *data)
static int __init opal_init(void) static int __init opal_init(void)
{ {
struct device_node *np, *consoles; struct device_node *np, *consoles;
const u32 *irqs; const __be32 *irqs;
int rc, i, irqlen; int rc, i, irqlen;
opal_node = of_find_node_by_path("/ibm,opal"); opal_node = of_find_node_by_path("/ibm,opal");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment