kernel/irq: Export irq_set_parent()
authorSudip Mukherjee <[email protected]>
Thu, 6 Oct 2016 17:36:43 +0000 (23:06 +0530)
committerThomas Gleixner <[email protected]>
Fri, 21 Oct 2016 08:21:38 +0000 (10:21 +0200)
The TPS65217 driver grew interrupt support which uses
irq_set_parent(). While it's not yet clear why this is used in the first
place, building the driver as a module fails with:

 ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined!

The correctness of the driver change is still investigated, but for now
it's less trouble to export irq_set_parent() than dealing with the build
wreckage.

[ tglx: Rewrote changelog and made the export GPL ]

Fixes: 6556bdacf646 ("mfd: tps65217: Add support for IRQs")
Signed-off-by: Sudip Mukherjee <[email protected]>
Cc: Sudip Mukherjee <[email protected]>
Cc: Marcin Niestroj <[email protected]>
Cc: Grygorii Strashko <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Lee Jones <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
kernel/irq/manage.c

index 0c5f1a5db654c7da7db4ec168ef44516407d6af5..9c4d304832648a2aa526597c87804e22e2cb715e 100644 (file)
@@ -721,6 +721,7 @@ int irq_set_parent(int irq, int parent_irq)
        irq_put_desc_unlock(desc, flags);
        return 0;
 }
+EXPORT_SYMBOL_GPL(irq_set_parent);
 #endif
 
 /*