summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Eckelmann2025-11-23 15:59:19 +0000
committerHauke Mehrtens2025-11-24 23:28:50 +0000
commitf29c597324506ed49d26ff8dbc51ddf0115a8304 (patch)
tree25f54f9dd706e79966805256be271d2e9b048d09
parent1dd22279ebdda2558f5032e11b63ca9e827f6294 (diff)
downloadopenwrt-f29c597324506ed49d26ff8dbc51ddf0115a8304.tar.gz
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@narfation.org> Link: https://github.com/openwrt/openwrt/pull/20906 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c3
1 files changed, 2 insertions, 1 deletions
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 = "";