The empty stub for its_acpi_probe() on !CONFIG_ACPI systems has a wrong prototype, which causes compilation errors: drivers/irqchip/irq-gic-v3-its.c: In function 'its_init': drivers/irqchip/irq-gic-v3-its.c:1762:3: error: too few arguments to function 'its_acpi_probe' its_acpi_probe(); ^ drivers/irqchip/irq-gic-v3-its.c:1749:27: note: declared here static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } This patch fixes the prototype and the corresponding compilation errors. Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx> Cc: Tomasz Nowicki <tn@xxxxxxxxxxxx> --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index c8f36a5..1846800 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -1700,7 +1700,7 @@ void __init its_acpi_probe(void) pr_info("No valid GIC ITS entries exist\n"); } #else -static inline void __init its_acpi_probe(struct irq_domain *parent_domain) { } +static inline void __init its_acpi_probe(void) { } #endif int __init its_init(struct fwnode_handle *handle, struct rdists *rdists, -- 2.6.4 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html