realtek: dsa: align header naming

Use a common define naming convention for header detection.

Link: https://github.com/openwrt/openwrt/pull/25160
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
This commit is contained in:
Markus Stockhausen committed 2026-09-14 12:38:00 +02:00
1 parent b994fa9910
commit 44f7d3da70
2 files changed
+6 -6

No files matched your search

@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _RTL83XX_TC_H
#define _RTL83XX_TC_H
#ifndef _OTTO_TC_H
#define _OTTO_TC_H
#include <linux/types.h>
@@ -33,4 +33,4 @@ int rtldsa_931x_port_rate_police_del(struct dsa_switch *ds, int port,
struct flow_cls_offload *cls,
bool ingress);
#endif /* _RTL83XX_TC_H */
#endif /* _OTTO_TC_H */
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _OTTO_VLAN_H_
#define _OTTO_VLAN_H_
#ifndef _OTTO_VLAN_H
#define _OTTO_VLAN_H
#include <linux/netlink.h>
#include <linux/types.h>
@@ -109,4 +109,4 @@ int rtldsa_port_vlan_fast_age(struct dsa_switch *ds, int port, u16 vid);
int rtldsa_vlan_msti_set(struct dsa_switch *ds, struct dsa_bridge bridge,
const struct switchdev_vlan_msti *msti);
#endif /* _OTTO_VLAN_H_ */
#endif /* _OTTO_VLAN_H */