Skip to content

Commit ea6bdfe

Browse files
yangbolu1991nashif
authored andcommitted
net: dsa: move dsa_tag_netc.h to public include directory
Moved dsa_tag_netc.h to public include directory for devices reusing. Signed-off-by: Yangbo Lu <[email protected]>
1 parent bb3b8df commit ea6bdfe

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

subsys/net/l2/ethernet/dsa/dsa_tag.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <zephyr/dt-bindings/ethernet/dsa_tag_proto.h>
1010
#ifdef CONFIG_DSA_TAG_PROTOCOL_NETC
11-
#include "dsa_tag_netc.h"
11+
#include <zephyr/net/dsa_tag_netc.h>
1212
#endif
1313

1414
struct net_if *dsa_tag_recv(struct net_if *iface, struct net_pkt *pkt);

subsys/net/l2/ethernet/dsa/dsa_tag_netc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LOG_MODULE_REGISTER(net_dsa_tag_netc, CONFIG_NET_DSA_LOG_LEVEL);
99

1010
#include <zephyr/net/ethernet.h>
1111
#include <zephyr/net/dsa_core.h>
12-
#include "dsa_tag_netc.h"
12+
#include <zephyr/net/dsa_tag_netc.h>
1313
#include "fsl_netc_tag.h"
1414

1515
/* tag is inserted after DMAC/SMAC fields */

0 commit comments

Comments
 (0)