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
..
2011-06-01 11:23:12 +03:00
2010-10-19 17:19:57 +03:00
2011-03-08 10:12:48 +02:00
2011-04-05 11:08:59 +03:00
2009-06-03 17:45:23 +03:00
2010-01-18 18:53:56 +02:00
2011-06-07 09:15:55 +03:00