aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-12-14 17:43:17 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-03 10:17:29 -0500
commit9f9df00accb343f61a5782904af10366a18ebb5a (patch)
tree5146a38c6eda3f9f4ccec13d9bed5b21b1b04746 /arch/arm
parentc87fb57346fc7653ace98769f148e0dcd88ac1ee (diff)
ARM: 7236/1: vic: always use simple ops
Now that irq_domain_simple_ops are available for non-DT users, use them in the VIC driver so that we don't get a NULL dereference in irq_domain_to_irq() when registering the domain. Cc: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/common/vic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/vic.c b/arch/arm/common/vic.c
index 77287504c8b..dcb004a804c 100644
--- a/arch/arm/common/vic.c
+++ b/arch/arm/common/vic.c
@@ -197,8 +197,8 @@ static void __init vic_register(void __iomem *base, unsigned int irq,
197 v->domain.nr_irq = 32; 197 v->domain.nr_irq = 32;
198#ifdef CONFIG_OF_IRQ 198#ifdef CONFIG_OF_IRQ
199 v->domain.of_node = of_node_get(node); 199 v->domain.of_node = of_node_get(node);
200 v->domain.ops = &irq_domain_simple_ops;
201#endif /* CONFIG_OF */ 200#endif /* CONFIG_OF */
201 v->domain.ops = &irq_domain_simple_ops;
202 irq_domain_add(&v->domain); 202 irq_domain_add(&v->domain);
203} 203}
204 204