staging: zcache: fix Kconfig crypto dependency
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Tue, 24 Apr 2012 01:33:50 +0000 (20:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:57:36 +0000 (11:57 -0700)
commit349ae79c0a3db1632ac4db955c53db05fc017bde
tree77fd69d1f2de07aa859acf522901081de49b476d
parenta2cd62ec9a3a2805014bdc14e0644b5faa352d3c
staging: zcache: fix Kconfig crypto dependency

ZCACHE is a boolean in the Kconfig.  When selected, it
should require that CRYPTO be builtin (=y).

Currently, ZCACHE=y and CRYPTO=m is a valid configuration
when it should not be.

This patch changes the zcache Kconfig to enforce this
dependency.

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/Kconfig