[PATCH] kernel: irq: fix build failure
From: Sudip Mukherjee
Date: Thu Oct 06 2016 - 13:37:04 EST
The allmodconfig build of powerpc is failing with the error:
ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined!
export the symbol to fix the failure.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@xxxxxxxxxxxxxxx>
---
build log is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/165418652
kernel/irq/manage.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 0c5f1a5..5072814 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -721,6 +721,7 @@ int irq_set_parent(int irq, int parent_irq)
irq_put_desc_unlock(desc, flags);
return 0;
}
+EXPORT_SYMBOL(irq_set_parent);
#endif
/*
--
1.9.1