diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-30 04:27:08 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-05 04:08:59 -0400 |
commit | 6bef0b67474d71e0d6484cbabcc87657a1176d8d (patch) | |
tree | 1d61b5b23842cfdeb1c91fd2825fc5edab627f71 /drivers/mtd | |
parent | 6e5133cc757912e7ba2bfbbfb384667707f45ec3 (diff) |
UBI: do not select KALLSYMS_ALL
All UBI needs is to make sure we stacktraces when UBI debugging
is enabled. It is enough to select KALLSYMS for this, KALLSYMS_ALL
is not necessary.
And the current Kconfig line we have:
select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL
is just too complex to be sane and right. But this "if" part there
is needed to prevent "unmet direct dependency" warnings, because
KALLSYMS_ALL depends on KALLSYMS and DEBUG_KERNEL, so we cannot
just select KALLSYMS_ALL.
Anyway, this feels messy, and we do not seem to really need KALLSYMS_ALL,
so select KALLSYMS instead.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/ubi/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index 6abeb4f13403..4dcc752a0c0b 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig | |||
@@ -56,7 +56,7 @@ config MTD_UBI_DEBUG | |||
56 | bool "UBI debugging" | 56 | bool "UBI debugging" |
57 | depends on SYSFS | 57 | depends on SYSFS |
58 | select DEBUG_FS | 58 | select DEBUG_FS |
59 | select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL | 59 | select KALLSYMS |
60 | help | 60 | help |
61 | This option enables UBI debugging. | 61 | This option enables UBI debugging. |
62 | 62 | ||