]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc54d8ba107c56b8e90b95d28a22cbee118aa49ab
tree8814f97bbbcfd2a0cd221cac2ed5a3b08cd21fd5
parentc4dd0a1d680aa1e74a066df18af8fcf8ffe34ee9
UBI: correct usage of IS_ENABLED()

Commit "efe76ff 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