realtek: Start function scope on newline
authorSven Eckelmann <[email protected]>
Sun, 23 Nov 2025 15:59:19 +0000 (16:59 +0100)
committerHauke Mehrtens <[email protected]>
Mon, 24 Nov 2025 23:28:50 +0000 (00:28 +0100)
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20906
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c

index a2476e40a9fc86adc71d8893e874e5d1a9cd640a..078978e1b8eedce9be808805237061397439b643 100644 (file)
@@ -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 = "";