of: make default address and size cells sizes private
authorRob Herring <robh@kernel.org>
Wed, 29 Aug 2018 22:21:45 +0000 (17:21 -0500)
committerRob Herring <robh@kernel.org>
Fri, 7 Sep 2018 16:04:41 +0000 (11:04 -0500)
commit00b7d1cf46676ad5e6338e80dc6230e1b6e71b86
tree867e51d423b01d051a57cde476f2333cfc84900c
parentf6707fd6241e483f6fea2caae82d876e422bb11a
of: make default address and size cells sizes private

Only some old OpenFirmware implementations rely on default sizes. Any
FDT and modern implementation should have explicit properties. Make the
OF_ROOT_NODE_*_CELLS_DEFAULT defines private so we don't get any outside
users.

This also gets us one step closer to removing the asm/prom.h dependency on
Sparc.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
arch/sparc/include/asm/prom.h
drivers/of/of_private.h
include/linux/of.h