kernel-fxtec-pro1x/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
..
build.c UBI: fix oops in error path 2011-06-01 11:23:12 +03:00
cdev.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
debug.c UBI: switch debugging tests knobs to debugfs 2011-06-01 11:23:12 +03:00
debug.h UBI: do not link debug messages when debugging is disabled 2011-08-19 19:02:27 +03:00
eba.c
gluebi.c
io.c UBI: prepare debugging stuff to further debugfs conversion 2011-06-01 11:21:52 +03:00
kapi.c
Kconfig
Makefile
misc.c
scan.c UBI: use debugfs for the extra checks knobs 2011-06-01 11:21:47 +03:00
scan.h
ubi-media.h
ubi.h UBI: dump stack when switching to R/O mode 2011-06-01 11:23:13 +03:00
upd.c
vmt.c UBI: use debugfs for the extra checks knobs 2011-06-01 11:21:47 +03:00
vtbl.c UBI: remove dead code 2011-06-07 09:15:55 +03:00
wl.c UBI: prepare debugging stuff to further debugfs conversion 2011-06-01 11:21:52 +03:00