Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c068e6b8 authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Michael Ellerman
Browse files

powerpc/embedded6xx/flipper-pic: Don't match all IRQ domains



On the Wii, there is a secondary IRQ controller (hlwd-pic), so
flipper-pic's match operation should not be hardcoded to return 1.
In fact, the default matching logic is sufficient, and we can completely
omit flipper_pic_match.

Signed-off-by: default avatarJonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 675d9952
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -108,16 +108,8 @@ static int flipper_pic_map(struct irq_domain *h, unsigned int virq,
	return 0;
}

static int flipper_pic_match(struct irq_domain *h, struct device_node *np,
			     enum irq_domain_bus_token bus_token)
{
	return 1;
}


static const struct irq_domain_ops flipper_irq_domain_ops = {
	.map = flipper_pic_map,
	.match = flipper_pic_match,
};

/*