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!
Unified · Split
| @@ -191,6 +191,7 @@ struct irq_domain *irq_domain_add_simple(struct device_node *of_node, · 190 unmodified lines | |||
| 191 | /* A linear domain is the default */ | 191 | /* A linear domain is the default */ |
| 192 | return irq_domain_add_linear(of_node, size, ops, host_data); | 192 | return irq_domain_add_linear(of_node, size, ops, host_data); |
| 193 | } | 193 | } |
| 194 | EXPORT_SYMBOL_GPL(irq_domain_add_simple); | ||
| 194 | 195 | ||
| 195 | /** | 196 | /** |
| 196 | * irq_domain_add_legacy() - Allocate and register a legacy revmap irq_domain. | 197 | * irq_domain_add_legacy() - Allocate and register a legacy revmap irq_domain. |