summaryrefslogtreecommitdiff
path: root/net/dsa/switch.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-11-21 15:55:52 +0200
committerJakub Kicinski <kuba@kernel.org>2022-11-22 20:41:53 -0800
commit47d2ce03dcfb6b7f0373aac6c667715d94caba78 (patch)
treee11ccc4be62ecb11d99a1c5cd28f1a90f8fe3856 /net/dsa/switch.c
parent165c2fb93bed2e73c63d064b315a9da15a3e4694 (diff)
downloadlinux-47d2ce03dcfb6b7f0373aac6c667715d94caba78.tar.gz
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/switch.c')
-rw-r--r--net/dsa/switch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/switch.c b/net/dsa/switch.c
index b534116dc519..4420af0081af 100644
--- a/net/dsa/switch.c
+++ b/net/dsa/switch.c
@@ -12,6 +12,7 @@
#include <linux/if_vlan.h>
#include <net/switchdev.h>
+#include "dsa.h"
#include "dsa_priv.h"
#include "port.h"
#include "slave.h"