forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
kernel/drivers/staging/most/Kconfig
....@@ -1,8 +1,9 @@
1
-menuconfig MOST
2
- tristate "MOST support"
3
- depends on HAS_DMA
4
- default n
5
- ---help---
1
+# SPDX-License-Identifier: GPL-2.0
2
+menuconfig MOST_COMPONENTS
3
+ tristate "MOST support"
4
+ depends on HAS_DMA && CONFIGFS_FS && MOST
5
+ default n
6
+ help
67 Say Y here if you want to enable MOST support.
78 This driver needs at least one additional component to enable the
89 desired access from userspace (e.g. character devices) and one that
....@@ -11,13 +12,11 @@
1112 To compile this driver as a module, choose M here: the
1213 module will be called most_core.
1314
14
- If in doubt, say N here.
15
+ If in doubt, say N here.
1516
1617
1718
18
-if MOST
19
-
20
-source "drivers/staging/most/cdev/Kconfig"
19
+if MOST_COMPONENTS
2120
2221 source "drivers/staging/most/net/Kconfig"
2322
....@@ -28,7 +27,5 @@
2827 source "drivers/staging/most/dim2/Kconfig"
2928
3029 source "drivers/staging/most/i2c/Kconfig"
31
-
32
-source "drivers/staging/most/usb/Kconfig"
3330
3431 endif