]> git.baikalelectronics.ru Git - kernel.git/commit
of/irq: do irq resolution in platform_get_irq_byname()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 20 May 2014 10:42:02 +0000 (13:42 +0300)
committerGrant Likely <grant.likely@linaro.org>
Fri, 23 May 2014 02:40:25 +0000 (11:40 +0900)
commita85eafdc2911267eae45ebef5d4ce458e8b9e601
treef93c7f4cbcc191d6924fedfcef26af76063032c0
parent97f89da9cc4a24aad23511337425e9316a74bc5e
of/irq: do irq resolution in platform_get_irq_byname()

The commit a76810429260ef9f5df7589fe97bede21bf2c6bf
"of/irq: do irq resolution in platform_get_irq" from Rob Herring -
moves resolving of the interrupt resources in platform_get_irq().
But this solution isn't complete because platform_get_irq_byname()
need to be modified the same way.

Hence, fix it by adding interrupt resolution code at the
platform_get_irq_byname() function too.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Rob Herring <robh@kernel.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/base/platform.c
drivers/of/irq.c
include/linux/of_irq.h