]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] MTD_DEBUG always does compile-time typechecks
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 30 Jul 2008 05:28:12 +0000 (22:28 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 30 Jul 2008 13:21:05 +0000 (14:21 +0100)
commit95b1bc20532c18e3f19cd460c8350350c84ffbb2
tree0ec3aef3787c979f1425184e51a157e5e351cdf3
parent771999b65f79264acde4b855e5d35696eca5e80c
[MTD] MTD_DEBUG always does compile-time typechecks

The current style for debug messages is to ensure they're always
parsed by the compiler and then subjected to dead code removal.
That way builds won't break only when debug options get enabled,
which is common when they are stripped out early by CPP.

This patch makes CONFIG_MTD_DEBUG adopt that convention.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/mtd.h