]> git.baikalelectronics.ru Git - kernel.git/commit
of/irq: move of_msi_configure to the right guard and add a dummy
authorJonas Gorski <jogo@openwrt.org>
Mon, 12 Oct 2015 12:43:22 +0000 (14:43 +0200)
committerRob Herring <robh@kernel.org>
Tue, 13 Oct 2015 18:32:41 +0000 (13:32 -0500)
commit17151018683f1f30beab16de82cce5c2bcd16c91
tree282dc74dbc51c0c02646aeb9d2384fcd5d210e72
parent3bbf578f417e2bd4d03916e071578ab93739c472
of/irq: move of_msi_configure to the right guard and add a dummy

of_msi_configure is part of of_irq.c, which is compiled in when OF_IRQ
is enabled, not just OF.
Also It is unconditionally called from of_platform_device_create_pdata,
which does not depend on OF_IRQ, just OF_ADDRESS, so we need a dummy
implementation in case of OF_ADDRESS=y but OF_IRQ=n.

Fixes: d1fae7e0 ("of/platform: Assign MSI domain to platform device")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/of_irq.h