Subject: [PATCH -next] staging/p9auth: fix dependency/build error

From: Randy Dunlap <[email-masked]>
Date: Tue, 10 Mar 2009 11:59:36 -0700

From: Randy Dunlap <[email-masked]>

Fix p9auth dependency/build failure.  It needs to depend on
CRYPTO.

p9auth.c:(.text+0x107297): undefined reference to `crypto_alloc_base'
p9auth.c:(.text+0x1073d4): undefined reference to `crypto_destroy_tfm'

Signed-off-by: Randy Dunlap <[email-masked]>
---
 drivers/staging/p9auth/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20090310.orig/drivers/staging/p9auth/Kconfig
+++ linux-next-20090310/drivers/staging/p9auth/Kconfig
@@ -1,6 +1,7 @@
 config PLAN9AUTH
 	tristate "Plan 9 style capability device implementation"
 	default n
+	depends on CRYPTO
 	help
 	  This module implements the Plan 9 style capability device.