Staging: DST: fix build dependancy
authorEvgeniy Polyakov <zbr@ioremap.net>
Mon, 19 Jan 2009 18:30:47 +0000 (21:30 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:33 +0000 (14:53 -0700)
On Mon, Jan 19, 2009 at 10:12:24AM -0800, Randy Dunlap (randy.dunlap@oracle.com) wrote:
>
> DST build fails when CONFIG_BLOCK=n:

DST should depend on block and block device, in the original patch its
kconfig entry was in the BLK_DEV menu, so this dependency was satisfied
automatically. Should attached patch be pushed into drivers/staging?

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/dst/Kconfig

index 9a02b3f..448d342 100644 (file)
@@ -1,6 +1,6 @@
 config DST
        tristate "Distributed storage"
-       depends on NET && CRYPTO && SYSFS
+       depends on NET && CRYPTO && SYSFS && BLK_DEV
        select CONNECTOR
        ---help---
        DST is a network block device storage, which can be used to organize