From: Christian Marangi <ansuelsmth@gmail.com>
Date: Tue, 27 Sep 2022 23:13:24 +0000 (+0200)
Subject: realtek: rtl931x: fix missing CONFIG_COMMON_CLK_REALTEK config flag
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=165b66d910e34667a3c6473151aa61fd6b7fc150;p=openwrt%2Fstaging%2Fjogo.git

realtek: rtl931x: fix missing CONFIG_COMMON_CLK_REALTEK config flag

When the realtek clock driver was introduced, CONFIG_COMMON_CLK_REALTEK
was not correctly disabled for other subtarget. Add the missing config
flag to fix compilation error on buildbot.

Fixes: 4850bd887c3a ("realtek: add RTL83XX clock driver")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---

diff --git a/target/linux/realtek/rtl931x/config-5.10 b/target/linux/realtek/rtl931x/config-5.10
index 319d766ae5..cc0fd34b38 100644
--- a/target/linux/realtek/rtl931x/config-5.10
+++ b/target/linux/realtek/rtl931x/config-5.10
@@ -12,6 +12,7 @@ CONFIG_CLKSRC_MMIO=y
 CONFIG_CLONE_BACKWARDS=y
 CONFIG_COMMON_CLK=y
 CONFIG_COMMON_CLK_BOSTON=y
+# CONFIG_COMMON_CLK_REALTEK is not set
 CONFIG_COMPAT_32BIT_TIME=y
 CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15
 CONFIG_CPU_BIG_ENDIAN=y