From 429fbc96a4dbefaed82b22f93f504254a0b4cbe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20VAR=C3=88NE?= Date: Sat, 16 May 2020 08:14:48 +0200 Subject: [PATCH] generic: platform/mikrotik: reorder Kconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- target/linux/generic/files/drivers/platform/mikrotik/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.