aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/irq.c')
-rw-r--r--arch/powerpc/kernel/irq.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index dfad0e469eec..79b451247b89 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -418,10 +418,11 @@ irq_hw_number_t virq_to_hw(unsigned int virq)
418} 418}
419EXPORT_SYMBOL_GPL(virq_to_hw); 419EXPORT_SYMBOL_GPL(virq_to_hw);
420 420
421__init_refok struct irq_host *irq_alloc_host(unsigned int revmap_type, 421__init_refok struct irq_host *irq_alloc_host(struct device_node *of_node,
422 unsigned int revmap_arg, 422 unsigned int revmap_type,
423 struct irq_host_ops *ops, 423 unsigned int revmap_arg,
424 irq_hw_number_t inval_irq) 424 struct irq_host_ops *ops,
425 irq_hw_number_t inval_irq)
425{ 426{
426 struct irq_host *host; 427 struct irq_host *host;
427 unsigned int size = sizeof(struct irq_host); 428 unsigned int size = sizeof(struct irq_host);
@@ -446,6 +447,7 @@ __init_refok struct irq_host *irq_alloc_host(unsigned int revmap_type,
446 host->revmap_type = revmap_type; 447 host->revmap_type = revmap_type;
447 host->inval_irq = inval_irq; 448 host->inval_irq = inval_irq;
448 host->ops = ops; 449 host->ops = ops;
450 host->of_node = of_node;
449 451
450 spin_lock_irqsave(&irq_big_lock, flags); 452 spin_lock_irqsave(&irq_big_lock, flags);
451 453