staging: zcache: disable ZCACHE_DEBUG due to build error
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 6 Mar 2013 00:31:06 +0000 (11:31 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2013 00:42:52 +0000 (08:42 +0800)
In file included from drivers/staging/zcache/debug.c:2:0:
drivers/staging/zcache/debug.h: In function 'dec_zcache_obj_count':
drivers/staging/zcache/debug.h:16:2: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/Kconfig

index 2da6cc4..ad47b4b 100644 (file)
@@ -13,6 +13,7 @@ config ZCACHE
 config ZCACHE_DEBUG
        bool "Enable debug statistics"
        depends on DEBUG_FS && ZCACHE
+       depends on BROKEN
        default n
        help
          This is used to provide an debugfs directory with counters of