diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-03-21 21:57:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 22:28:37 +0200 |
commit | 87840289637e9ea95118ebd76e2e335fdcddd725 (patch) | |
tree | 640807e847ffb7825f5aea1f44d2dcdb017b648d /drivers/usb | |
parent | USB: add power/level sysfs attribute (diff) | |
download | linux-87840289637e9ea95118ebd76e2e335fdcddd725.tar.xz linux-87840289637e9ea95118ebd76e2e335fdcddd725.zip |
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')
-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 4097a86c4b5e..e081f3ebfb6f 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 |