Commit 87840289 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2add5229
...@@ -370,6 +370,7 @@ config USB_GADGETFS ...@@ -370,6 +370,7 @@ config USB_GADGETFS
config USB_FILE_STORAGE config USB_FILE_STORAGE
tristate "File-backed Storage Gadget" tristate "File-backed Storage Gadget"
depends on BLOCK
help help
The File-backed Storage Gadget acts as a USB Mass Storage The File-backed Storage Gadget acts as a USB Mass Storage
disk drive. As its storage repository it can use a regular disk drive. As its storage repository it can use a regular
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment