From: Thibaut VARÈNE Date: Sat, 16 May 2020 06:14:48 +0000 (+0200) Subject: generic: platform/mikrotik: reorder Kconfig X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=429fbc96a4dbefaed82b22f93f504254a0b4cbe6;p=openwrt%2Fstaging%2Fzorun.git generic: platform/mikrotik: reorder Kconfig The depends and select should apply to the sysfs driver, not the meta config. Tested-by: Koen Vandeputte Tested-by: Roger Pueyo Centelles Signed-off-by: Thibaut VARÈNE --- diff --git a/target/linux/generic/files/drivers/platform/mikrotik/Kconfig b/target/linux/generic/files/drivers/platform/mikrotik/Kconfig index 195a1e8fd3..3a0c32604e 100644 --- a/target/linux/generic/files/drivers/platform/mikrotik/Kconfig +++ b/target/linux/generic/files/drivers/platform/mikrotik/Kconfig @@ -1,8 +1,6 @@ menuconfig MIKROTIK bool "Platform support for MikroTik RouterBoard virtual devices" default n - depends on MTD - select LZO_DECOMPRESS help Say Y here to get to see options for the MikroTik RouterBoard platform. This option alone does not add any kernel code. @@ -12,6 +10,8 @@ if MIKROTIK config MIKROTIK_RB_SYSFS tristate "RouterBoot sysfs support" + depends on MTD + select LZO_DECOMPRESS help This driver exposes RouterBoot configuration in sysfs.