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)
commiteaddb5725357e9f05ffe5d271630f8197d089da4
tree053944721aeb7bf6d4ff3937a8e69fa7120ec890
parent4c3141e09cfa6460bfcd5e90f73e498db654c917
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