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>
This commit is contained in:
parent
2add5229d7
commit
8784028963
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue