[openwrt/openwrt] realtek: Fix SPDX license lines in headers

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 24 15:29:49 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4f71495a47df99b6356e66183e4685257175cb73

commit 4f71495a47df99b6356e66183e4685257175cb73
Author: Sven Eckelmann <sven at narfation.org>
AuthorDate: Sun Nov 23 12:57:49 2025 +0100

    realtek: Fix SPDX license lines in headers
    
    Headers must use block-style comments to avoid problems with non-C
    programming languages which try to use this header file.
    
    Signed-off-by: Sven Eckelmann <sven at narfation.org>
    Link: https://github.com/openwrt/openwrt/pull/20906
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.h b/target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.h
index 5a0672206e..ef7650eb6a 100644
--- a/target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.h
+++ b/target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 struct __attribute__ ((__packed__)) part {
 	uint16_t start;




More information about the lede-commits mailing list