Thread (16 messages) 16 messages, 4 authors, 2019-07-09
STALE2520d

[RFC PATCH] net: mdio: of: of_find_mii_timestamper() can be static

From: kbuild test robot <hidden>
Date: 2019-05-31 17:24:01
Also in: linux-devicetree
Subsystem: open firmware and flattened device tree, the rest · Maintainers: Rob Herring, Saravana Kannan, Linus Torvalds

Fixes: 500a41a402da ("net: mdio: of: Register discovered MII time stampers.")
Signed-off-by: kbuild test robot <redacted>
---
 of_mdio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index 255f47d..1251d73 100644
--- a/drivers/of/of_mdio.c
+++ b/drivers/of/of_mdio.c
@@ -43,7 +43,7 @@ static int of_get_phy_id(struct device_node *device, u32 *phy_id)
 	return -EINVAL;
 }
 
-struct mii_timestamper *of_find_mii_timestamper(struct device_node *node)
+static struct mii_timestamper *of_find_mii_timestamper(struct device_node *node)
 {
 	struct of_phandle_args arg;
 	int err;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help