From 44f7d3da709e45448e293bb2ecb748a4972c043b Mon Sep 17 00:00:00 2001 From: Markus Stockhausen Date: Mon, 14 Sep 2026 08:45:01 +0200 Subject: [PATCH] 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 --- .../linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/tc.h | 6 +++--- .../linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/vlan.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/tc.h b/target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/tc.h index a1319f0bb1b..48da0fdc8ac 100644 --- a/target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/tc.h +++ b/target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/tc.h @@ -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 @@ -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 */ diff --git a/target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/vlan.h b/target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/vlan.h index 25e25f13989..6e0399667b2 100644 --- a/target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/vlan.h +++ b/target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/vlan.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 #include @@ -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 */