[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190528033641.GA23494@lkp-kbuild06>
Date: Tue, 28 May 2019 11:36:41 +0800
From: kbuild test robot <lkp@...el.com>
To: Ioana Ciornei <ioana.ciornei@....com>
Cc: kbuild-all@...org, linux@...linux.org.uk, f.fainelli@...il.com,
andrew@...n.ch, hkallweit1@...il.com,
maxime.chevallier@...tlin.com, olteanv@...il.com,
thomas.petazzoni@...tlin.com, davem@...emloft.net,
vivien.didelot@...il.com, netdev@...r.kernel.org,
Ioana Ciornei <ioana.ciornei@....com>
Subject: [RFC PATCH] net: dsa: dsa_port_phylink_register() can be static
Fixes: 9dd6d07682b1 ("net: dsa: Use PHYLINK for the CPU/DSA ports")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
port.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dsa/port.c b/net/dsa/port.c
index 30d5b08..d74bc9d 100644
--- a/net/dsa/port.c
+++ b/net/dsa/port.c
@@ -601,7 +601,7 @@ static int dsa_port_fixed_link_register_of(struct dsa_port *dp)
return 0;
}
-int dsa_port_phylink_register(struct dsa_port *dp)
+static int dsa_port_phylink_register(struct dsa_port *dp)
{
struct dsa_switch *ds = dp->ds;
struct device_node *port_dn = dp->dn;
Powered by blists - more mailing lists