]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: e60k02: Pass the memory unit address
authorFabio Estevam <festevam@gmail.com>
Fri, 8 Nov 2019 14:39:36 +0000 (11:39 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 9 Dec 2019 00:28:06 +0000 (08:28 +0800)
commit9da37d9e20b22c09ebfb06d9e25ef997abb8c2af
treeb1310d01b67c2111112fcbf2709c4a3ab749c07c
parent66b942bc8abede99415f19b2248e583a4e17ceb3
ARM: dts: e60k02: Pass the memory unit address

The following build warning is seen with W=1:

  DTC     arch/arm/boot/dts/imx6sll-kobo-clarahd.dtb
arch/arm/boot/dts/e60k02.dtsi:51.9-53.4: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name

Pass the memory unit address to fix the problem.

While at it, also pass 'device_type = "memory"', which is recommended
for memory nodes.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/e60k02.dtsi