original_kernel/drivers/mtd/ubi
Artem Bityutskiy 9efabc8476 UBI: do not link debug messages when debugging is disabled
Michal Marek spotted the same issue in UBIFS and this patch fixes UBI,
see "UBIFS: not build debug messages with CONFIG_UBIFS_FS_DEBUG disabled"

When UBI debugging is disabled, we have debugging messages defined as:

if (0)
	pr_debug()

But pr_debug macro defines data structures with debugging data and makes
the linux binary larger, even though we have "if (0)".

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
2011-08-19 19:02:27 +03:00
..
Kconfig
Makefile
build.c
cdev.c
debug.c
debug.h
eba.c
gluebi.c
io.c
kapi.c
misc.c
scan.c
scan.h
ubi-media.h
ubi.h
upd.c
vmt.c
vtbl.c
wl.c