]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
arm64: dts: hip06: Fix no reg property warning
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 24 Oct 2016 03:40:28 +0000 (11:40 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 15 Nov 2016 10:40:26 +0000 (10:40 +0000)
Warning (unit_address_vs_reg): Node /soc/ethernet@4 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /soc/ethernet@5 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /soc/ethernet@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /soc/ethernet@1 has a unit name, but no reg property

Fix warning when build with W=1.

Cc: Kejian Yan <yankejian@huawei.com>
Cc: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hip06.dtsi

index af450413b9ddbe33d9e767714df4f248a83a5789..da61e4384eebaea4ec8d79d4860561fd7a0231df 100644 (file)
                        };
                };
 
-               eth0: ethernet@4{
+               eth0: ethernet-4{
                        compatible = "hisilicon,hns-nic-v2";
                        ae-handle = <&dsaf0>;
                        port-idx-in-ae = <4>;
                        dma-coherent;
                };
 
-               eth1: ethernet@5{
+               eth1: ethernet-5{
                        compatible = "hisilicon,hns-nic-v2";
                        ae-handle = <&dsaf0>;
                        port-idx-in-ae = <5>;
                        dma-coherent;
                };
 
-               eth2: ethernet@0{
+               eth2: ethernet-0{
                        compatible = "hisilicon,hns-nic-v2";
                        ae-handle = <&dsaf0>;
                        port-idx-in-ae = <0>;
                        dma-coherent;
                };
 
-               eth3: ethernet@1{
+               eth3: ethernet-1{
                        compatible = "hisilicon,hns-nic-v2";
                        ae-handle = <&dsaf0>;
                        port-idx-in-ae = <1>;