From: Geert Uytterhoeven Date: Sun, 5 Apr 2015 14:59:25 +0000 (+0200) Subject: of: Add dummy of_irq_to_resource_table() for IRQ_OF=n X-Git-Tag: omap-for-v4.2/o2_dc~25^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d616a703a52cf972425cddd43fc01cd4ef867faf;p=pandora-kernel.git of: Add dummy of_irq_to_resource_table() for IRQ_OF=n If CONFIG_IRQ_OF=n: drivers/built-in.o: In function `of_device_alloc': (.text+0x72bce): undefined reference to `of_irq_to_resource_table' make: *** [vmlinux] Error 1 of_device_alloc() calls of_irq_to_resource_table() with nr_irqs = 0 due to of_irq_count() already being a dummy, so just add a dummy for of_irq_to_resource_table(), too. Signed-off-by: Geert Uytterhoeven Signed-off-by: Rob Herring --- Reading git-diff-tree failed