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)
committerRob Herring <robh@kernel.org>
Fri, 7 Sep 2018 16:04:41 +0000 (11:04 -0500)
commitf6707fd6241e483f6fea2caae82d876e422bb11a
tree5c99d1c4aeb7d7842fa359f00bd15e2850c8e444
parent6d0a70a284be782e8b0120de75398a1a1155a50c
of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC

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>
drivers/of/base.c