]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] tape block: fix dependencies
authorKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Fri, 9 Jan 2009 11:14:49 +0000 (12:14 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 9 Jan 2009 11:15:04 +0000 (12:15 +0100)
  CC      drivers/s390/char/tape_block.o
In file included from drivers/s390/char/tape_block.c:24:
drivers/s390/char/tape.h:159: warning: 'struct request' declared inside
parameter list

Adding the dependency of CONFIG_BLOCK to CONFIG_S390_TAPE_BLOCK.

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/Kconfig

index 643033890e341d28188a3769ea35dcc56cf66fe0..0769ced52dbd64c3b5583f7c447971fd2e8eeb4d 100644 (file)
@@ -100,7 +100,7 @@ comment "S/390 tape interface support"
 
 config S390_TAPE_BLOCK
        bool "Support for tape block devices"
-       depends on S390_TAPE
+       depends on S390_TAPE && BLOCK
        help
          Select this option if you want to access your channel-attached tape
          devices using the block device interface.  This interface is similar