summaryrefslogtreecommitdiff
path: root/net/dsa/port.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-11-21 16:55:52 +0300
committerJakub Kicinski <kuba@kernel.org>2022-11-23 07:41:53 +0300
commit47d2ce03dcfb6b7f0373aac6c667715d94caba78 (patch)
treee11ccc4be62ecb11d99a1c5cd28f1a90f8fe3856 /net/dsa/port.c
parent165c2fb93bed2e73c63d064b315a9da15a3e4694 (diff)
downloadlinux-47d2ce03dcfb6b7f0373aac6c667715d94caba78.tar.xz
net: dsa: rename dsa2.c back into dsa.c and create its header
The previous change moved the code into the larger file (dsa2.c) to minimize the delta. Rename that now to dsa.c, and create dsa.h, where all related definitions from dsa_priv.h go. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/port.c')
-rw-r--r--net/dsa/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/port.c b/net/dsa/port.c
index bf2c98215021..e6d5c05b41b4 100644
--- a/net/dsa/port.c
+++ b/net/dsa/port.c
@@ -12,7 +12,7 @@
#include <linux/of_mdio.h>
#include <linux/of_net.h>
-#include "dsa_priv.h"
+#include "dsa.h"
#include "port.h"
#include "slave.h"
#include "switch.h"