Commit 346dbb79 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Grant Likely

irqdomain: export irq_domain_add_simple

All other irq_domain_add_* functions are exported already, and apparently
this one got left out by mistake, which causes build errors for ARM
allmodconfig kernels:

ERROR: "irq_domain_add_simple" [drivers/gpio/gpio-rcar.ko] undefined!
ERROR: "irq_domain_add_simple" [drivers/gpio/gpio-em.ko] undefined!
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent d683b96b
...@@ -191,6 +191,7 @@ struct irq_domain *irq_domain_add_simple(struct device_node *of_node, ...@@ -191,6 +191,7 @@ struct irq_domain *irq_domain_add_simple(struct device_node *of_node,
/* A linear domain is the default */ /* A linear domain is the default */
return irq_domain_add_linear(of_node, size, ops, host_data); return irq_domain_add_linear(of_node, size, ops, host_data);
} }
EXPORT_SYMBOL_GPL(irq_domain_add_simple);
/** /**
* irq_domain_add_legacy() - Allocate and register a legacy revmap irq_domain. * irq_domain_add_legacy() - Allocate and register a legacy revmap irq_domain.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment