UBI: correct usage of IS_ENABLED()
authorBrian Norris <computersforpeace@gmail.com>
Mon, 18 Jun 2012 23:31:23 +0000 (16:31 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 27 Jun 2012 11:22:15 +0000 (14:22 +0300)
commit903e0e4ef9120c3d7693599acb95e76e8263fb35
tree8814f97bbbcfd2a0cd221cac2ed5a3b08cd21fd5
parent2d4cf5ae123e4a7bd26a88e600581aa809bcad7f
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