[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1627702487-234812-1-git-send-email-gaobaisheng@bonc.com.cn>
Date: Sat, 31 Jul 2021 11:34:47 +0800
From: Baisheng Gao <gaobaisheng@...c.com.cn>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] Documentation: fix incorrect macro referencing in mscc-phy-vsc8531.txt
Modify LINK_1000_ACTIVITY and LINK_100_ACTIVITY to VSC8531_LINK_1000_ACTIVITY
and VSC8531_LINK_100_ACTIVITY respectively in the example of ethernet-phy node
according to include/dt-bindings/net/mscc-phy-vsc8531.h.
Signed-off-by: Baisheng Gao <gaobaisheng@...c.com.cn>
---
Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt b/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt
index 87a27d7..0a3647f 100644
--- a/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt
+++ b/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt
@@ -67,7 +67,7 @@ Example:
compatible = "ethernet-phy-id0007.0570";
vsc8531,vddmac = <3300>;
vsc8531,edge-slowdown = <7>;
- vsc8531,led-0-mode = <LINK_1000_ACTIVITY>;
- vsc8531,led-1-mode = <LINK_100_ACTIVITY>;
+ vsc8531,led-0-mode = <VSC8531_LINK_1000_ACTIVITY>;
+ vsc8531,led-1-mode = <VSC8531_LINK_100_ACTIVITY>;
load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
};
--
1.8.3.1
Powered by blists - more mailing lists