From: Sven Eckelmann Date: Sun, 23 Nov 2025 15:59:19 +0000 (+0100) Subject: realtek: Start function scope on newline X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f29c597324506ed49d26ff8dbc51ddf0115a8304;p=openwrt%2Fstaging%2Fstintel.git 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 Link: https://github.com/openwrt/openwrt/pull/20906 Signed-off-by: Hauke Mehrtens --- 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 = "";