From c18f91d11822c5ac7572c35bcfc3538349157042 Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Sun, 15 Aug 2021 17:39:40 +0200
Subject: [PATCH] kernel: Do not deactivate staging drivers

Do not deactivate the kernel configuration symbol CONFIG_STAGING in the
target configurations any more. This prevented the build of the exfat.ko
for example.

Fixes: FS#3979
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 target/linux/ipq807x/config-default     | 1 -
 target/linux/oxnas/config-5.10          | 1 -
 target/linux/oxnas/config-5.4           | 1 -
 target/linux/rockchip/armv8/config-5.10 | 1 -
 target/linux/rockchip/armv8/config-5.4  | 1 -
 target/linux/zynq/config-5.4            | 1 -
 6 files changed, 6 deletions(-)

diff --git a/target/linux/ipq807x/config-default b/target/linux/ipq807x/config-default
index 295a7b4200..94acb8672d 100644
--- a/target/linux/ipq807x/config-default
+++ b/target/linux/ipq807x/config-default
@@ -597,7 +597,6 @@ CONFIG_SPMI=y
 CONFIG_SPMI_MSM_PMIC_ARB=y
 # CONFIG_SPMI_PMIC_CLKDIV is not set
 CONFIG_SRCU=y
-# CONFIG_STAGING is not set
 CONFIG_STM=y
 # CONFIG_STM_SOURCE_HEARTBEAT is not set
 # CONFIG_STRIP_ASM_SYMS is not set
diff --git a/target/linux/oxnas/config-5.10 b/target/linux/oxnas/config-5.10
index f356b305ca..b0e4789d1e 100644
--- a/target/linux/oxnas/config-5.10
+++ b/target/linux/oxnas/config-5.10
@@ -315,7 +315,6 @@ CONFIG_SPARSE_IRQ=y
 CONFIG_SPLIT_PTLOCK_CPUS=999999
 CONFIG_SRCU=y
 CONFIG_STACKTRACE=y
-# CONFIG_STAGING is not set
 CONFIG_STMMAC_ETH=y
 CONFIG_STMMAC_PLATFORM=y
 # CONFIG_STMMAC_SELFTESTS is not set
diff --git a/target/linux/oxnas/config-5.4 b/target/linux/oxnas/config-5.4
index 892bc7cda4..f9bc748ca6 100644
--- a/target/linux/oxnas/config-5.4
+++ b/target/linux/oxnas/config-5.4
@@ -314,7 +314,6 @@ CONFIG_SPARSE_IRQ=y
 CONFIG_SPLIT_PTLOCK_CPUS=999999
 CONFIG_SRCU=y
 CONFIG_STACKTRACE=y
-# CONFIG_STAGING is not set
 CONFIG_STMMAC_ETH=y
 CONFIG_STMMAC_PLATFORM=y
 # CONFIG_STMMAC_SELFTESTS is not set
diff --git a/target/linux/rockchip/armv8/config-5.10 b/target/linux/rockchip/armv8/config-5.10
index 734530a9c7..3b03333af0 100644
--- a/target/linux/rockchip/armv8/config-5.10
+++ b/target/linux/rockchip/armv8/config-5.10
@@ -580,7 +580,6 @@ CONFIG_SRAM=y
 CONFIG_SRCU=y
 CONFIG_STACKPROTECTOR=y
 CONFIG_STACKPROTECTOR_STRONG=y
-# CONFIG_STAGING is not set
 CONFIG_STMMAC_ETH=y
 CONFIG_STMMAC_PLATFORM=y
 # CONFIG_STMMAC_SELFTESTS is not set
diff --git a/target/linux/rockchip/armv8/config-5.4 b/target/linux/rockchip/armv8/config-5.4
index f13b59addf..d3c2cd985a 100644
--- a/target/linux/rockchip/armv8/config-5.4
+++ b/target/linux/rockchip/armv8/config-5.4
@@ -556,7 +556,6 @@ CONFIG_SRAM=y
 CONFIG_SRCU=y
 CONFIG_STACKPROTECTOR=y
 CONFIG_STACKPROTECTOR_STRONG=y
-# CONFIG_STAGING is not set
 CONFIG_STMMAC_ETH=y
 CONFIG_STMMAC_PLATFORM=y
 # CONFIG_STMMAC_SELFTESTS is not set
diff --git a/target/linux/zynq/config-5.4 b/target/linux/zynq/config-5.4
index bfa5792dda..01b4ffd93e 100644
--- a/target/linux/zynq/config-5.4
+++ b/target/linux/zynq/config-5.4
@@ -555,7 +555,6 @@ CONFIG_SPI_ZYNQ_QSPI=y
 CONFIG_SRAM=y
 CONFIG_SRAM_EXEC=y
 CONFIG_SRCU=y
-# CONFIG_STAGING is not set
 # CONFIG_STRIP_ASM_SYMS is not set
 CONFIG_SUSPEND=y
 CONFIG_SUSPEND_FREEZER=y
-- 
2.30.2