mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] device property: export irqchip_fwnode_ops
@ 2017-07-25 15:32 Arnd Bergmann
  2017-07-26  0:13 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2017-07-25 15:32 UTC (permalink / raw)
  To: Sakari Ailus, Rafael J . Wysocki
  Cc: Arnd Bergmann, Marc Zyngier, Thomas Gleixner, Tomasz Nowicki,
	Will Deacon, Eric Auger, Sebastian Frias, linux-kernel

The newly added irqchip_fwnode_ops structure is not exported, which can
lead to link errors:

ERROR: "irqchip_fwnode_ops" [drivers/gpio/gpio-xgene-sb.ko] undefined!

I checked that all other such symbols that were introduced are
exported if they need to be, this is the only missing one.

Fixes: db3e50f3234b ("device property: Get rid of struct fwnode_handle type field")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 kernel/irq/irqdomain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index e064fd1390f1..9e8a075117a3 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -42,6 +42,7 @@ static inline void debugfs_remove_domain_dir(struct irq_domain *d) { }
 #endif
 
 const struct fwnode_operations irqchip_fwnode_ops;
+EXPORT_SYMBOL_GPL(irqchip_fwnode_ops);
 
 /**
  * irq_domain_alloc_fwnode - Allocate a fwnode_handle suitable for
-- 
2.9.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-26  7:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-25 15:32 [PATCH] device property: export irqchip_fwnode_ops Arnd Bergmann
2017-07-26  0:13 ` Rafael J. Wysocki
2017-07-26  7:01   ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®