summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/Kconfig.debug')
-rw-r--r--drivers/mtd/ubi/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/Kconfig.debug b/drivers/mtd/ubi/Kconfig.debug
index 2246f154e2f7..61f6e5e40458 100644
--- a/drivers/mtd/ubi/Kconfig.debug
+++ b/drivers/mtd/ubi/Kconfig.debug
@@ -6,7 +6,7 @@ config MTD_UBI_DEBUG
depends on SYSFS
depends on MTD_UBI
select DEBUG_FS
- select KALLSYMS_ALL
+ select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL
help
This option enables UBI debugging.