提交 c04d102b 编写于 作者: R Russell King 提交者: David S. Miller

doc: sfp-phylink: correct code indentation

Using vim to edit the phylink documentation reveals some mistakes due
to the "invisible" pythonesque white space indentation that can't be
seen with other editors. Fix it.
Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 630fe59e
...@@ -154,11 +154,11 @@ this documentation. ...@@ -154,11 +154,11 @@ this documentation.
return phylink_ethtool_ksettings_get(priv->phylink, cmd); return phylink_ethtool_ksettings_get(priv->phylink, cmd);
} }
7. Replace the call to: 7. Replace the call to::
phy_dev = of_phy_connect(dev, node, link_func, flags, phy_interface); phy_dev = of_phy_connect(dev, node, link_func, flags, phy_interface);
and associated code with a call to: and associated code with a call to::
err = phylink_of_phy_connect(priv->phylink, node, flags); err = phylink_of_phy_connect(priv->phylink, node, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册