From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 07:24:11 +0000
Subject: [PATCH] add stmac read mac form eeprom

---
 kernel/drivers/staging/most/Kconfig |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/kernel/drivers/staging/most/Kconfig b/kernel/drivers/staging/most/Kconfig
index 20047ab..535e6de 100644
--- a/kernel/drivers/staging/most/Kconfig
+++ b/kernel/drivers/staging/most/Kconfig
@@ -1,8 +1,9 @@
-menuconfig MOST
-        tristate "MOST support"
-	depends on HAS_DMA
-        default n
-        ---help---
+# SPDX-License-Identifier: GPL-2.0
+menuconfig MOST_COMPONENTS
+	tristate "MOST support"
+	depends on HAS_DMA && CONFIGFS_FS && MOST
+	default n
+	help
 	  Say Y here if you want to enable MOST support.
 	  This driver needs at least one additional component to enable the
 	  desired access from userspace (e.g. character devices) and one that
@@ -11,13 +12,11 @@
 	  To compile this driver as a module, choose M here: the
 	  module will be called most_core.
 
-          If in doubt, say N here.
+	  If in doubt, say N here.
 
 
 
-if MOST
-
-source "drivers/staging/most/cdev/Kconfig"
+if MOST_COMPONENTS
 
 source "drivers/staging/most/net/Kconfig"
 
@@ -28,7 +27,5 @@
 source "drivers/staging/most/dim2/Kconfig"
 
 source "drivers/staging/most/i2c/Kconfig"
-
-source "drivers/staging/most/usb/Kconfig"
 
 endif

--
Gitblit v1.6.2