]> git.baikalelectronics.ru Git - kernel.git/commit
of/irq: move of_msi_map_rid declaration to the correct ifdef section
authorRob Herring <robh@kernel.org>
Wed, 9 Dec 2015 15:11:10 +0000 (09:11 -0600)
committerRob Herring <robh@kernel.org>
Wed, 9 Dec 2015 15:23:28 +0000 (09:23 -0600)
commit98efd0b8ee46b7718365021850cca6e5fe885538
tree053944721aeb7bf6d4ff3937a8e69fa7120ec890
parent2248a347bb61620309868c73ca021f6ed82ed2b5
of/irq: move of_msi_map_rid declaration to the correct ifdef section

In checking fixes for of_irq_find_parent declaration location, I found
that of_msi_map_rid is also wrong. of_msi_map_rid is not implemented for
Sparc, so it should not be in the Sparc specific section of the header.
Move it to just depend on OF_IRQ.

Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/of_irq.h