aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-03-21 16:57:51 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-04-27 16:28:37 -0400
commit87840289637e9ea95118ebd76e2e335fdcddd725 (patch)
tree640807e847ffb7825f5aea1f44d2dcdb017b648d /drivers/usb/gadget
parent2add5229d77a3de08015feef437653e02372162f (diff)
USB: gadget-storage needs BLOCK
With CONFIG_BLOCK=n, this build error happens: WARNING: "bdev_read_only" [drivers/usb/gadget/g_file_storage.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 4097a86c4b5e..e081f3ebfb6f 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -370,6 +370,7 @@ config USB_GADGETFS
370 370
371config USB_FILE_STORAGE 371config USB_FILE_STORAGE
372 tristate "File-backed Storage Gadget" 372 tristate "File-backed Storage Gadget"
373 depends on BLOCK
373 help 374 help
374 The File-backed Storage Gadget acts as a USB Mass Storage 375 The File-backed Storage Gadget acts as a USB Mass Storage
375 disk drive. As its storage repository it can use a regular 376 disk drive. As its storage repository it can use a regular