[openwrt/openwrt] realtek: Start function scope on newline
LEDE Commits
lede-commits at lists.infradead.org
Mon Nov 24 15:30:08 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f29c597324506ed49d26ff8dbc51ddf0115a8304
commit f29c597324506ed49d26ff8dbc51ddf0115a8304
Author: Sven Eckelmann <sven at narfation.org>
AuthorDate: Sun Nov 23 16:59:19 2025 +0100
realtek: Start function scope on newline
In contrast to array initializations, function scopes must start
on a newline and not at the a line which defines the function
parameters.
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/arch/mips/rtl838x/prom.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c b/target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c
index a2476e40a9..078978e1b8 100644
--- a/target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c
+++ b/target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c
@@ -212,7 +212,8 @@ static void __init parse_model(uint32_t model)
soc_info.name = soc_name;
}
-static void __init rtl83xx_set_system_type(void) {
+static void __init rtl83xx_set_system_type(void)
+{
char revision = '?';
char *es = "";
More information about the lede-commits
mailing list