of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC
authorRob Herring <robh@kernel.org>
Mon, 27 Aug 2018 14:50:09 +0000 (09:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Nov 2019 16:59:48 +0000 (17:59 +0100)
commit9032374066b416e1ade7b97b8a8f3c7c304c1faa
treee48cd890bf45c5af9dcf5fbd10ffbd0c9a51c274
parent2958d917fadeea14fb1bc54756a3f29f87fbf6f4
of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC

[ Upstream commit f6707fd6241e483f6fea2caae82d876e422bb11a ]

Cache nodes under the cpu node(s) is PowerMac specific according to the
comment above, so make the code enforce that.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/of/base.c