UBI: correct usage of IS_ENABLED()
authorBrian Norris <computersforpeace@gmail.com>
Mon, 18 Jun 2012 23:31:23 +0000 (16:31 -0700)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 2 Mar 2013 20:11:41 +0000 (22:11 +0200)
commit2f9482a3db36a22a147c14488d86362853f999b6
tree644e2c2cace93b577b493eac6d06d7e15b91d348
parent498831ebf5bf098742925f18f47b389ec9d10bf3
UBI: correct usage of IS_ENABLED()

Commit "e9b4cf2 UBI: fix debugfs-less systems support" fixed one
regression but introduced a different regression - the debugfs is now always
compiled out. Root cause: IS_ENABLED() arguments should be used with the
CONFIG_* prefix.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/debug.c