diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-03-21 20:57:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 20:28:37 (GMT) |
commit | 87840289637e9ea95118ebd76e2e335fdcddd725 (patch) | |
tree | 640807e847ffb7825f5aea1f44d2dcdb017b648d /drivers/usb/gadget/Kconfig | |
parent | 2add5229d77a3de08015feef437653e02372162f (diff) | |
download | linux-fsl-qoriq-87840289637e9ea95118ebd76e2e335fdcddd725.tar.xz |
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/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 4097a86..e081f3e 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -370,6 +370,7 @@ config USB_GADGETFS config USB_FILE_STORAGE tristate "File-backed Storage Gadget" + depends on BLOCK help The File-backed Storage Gadget acts as a USB Mass Storage disk drive. As its storage repository it can use a regular |