summarylogtreecommitdiffstats
path: root/0003-Disable-tristate-for-non-modules.patch
blob: 00c853787c617379e6e2db3682bc61047a477c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: ZHANG Yuntian <95260730+RadxaYuntian@users.noreply.github.com>
Date: Sun, 9 Oct 2022 20:57:28 +0800
Subject: [PATCH] Disable tristate for non-modules

---
 drivers/rkflash/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/rkflash/Kconfig b/drivers/rkflash/Kconfig
index 5c2f4295da15..b92659757a02 100644
--- a/drivers/rkflash/Kconfig
+++ b/drivers/rkflash/Kconfig
@@ -29,7 +29,7 @@ config RK_SFTL
 	  Say Y when you have a board with Slc Nand Flash register as block device.
 
 config RK_NANDC_NAND
-	tristate "Rockchip NANDC Slc Nand Devices support"
+	bool "Rockchip NANDC Slc Nand Devices support"
 	default n
 	depends on RK_NAND != y
 	help
@@ -41,7 +41,7 @@ config RK_NANDC_NAND
 	  Nandc controller.
 
 config RK_SFC_NAND
-	tristate "Rockchip SFC Spi Nand Devices support"
+	bool "Rockchip SFC Spi Nand Devices support"
 	default n
 	depends on RK_NAND != y
 	help
@@ -63,7 +63,7 @@ config RK_SFC_NAND_MTD
 	  Say Y when you wanna use mtd interface for SFC_NAND flash.
 
 config RK_SFC_NOR
-	tristate "Rockchip SFC Spi Nor Devices Support"
+	bool "Rockchip SFC Spi Nor Devices Support"
 	select CRYPTO
 	select CRYPTO_LIB_ARC4
 	default n
-- 
2.38.0