projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2add522
)
USB: gadget-storage needs BLOCK
author
Randy Dunlap
<randy.dunlap@oracle.com>
Wed, 21 Mar 2007 20:57:51 +0000
(13:57 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 27 Apr 2007 20:28:37 +0000
(13:28 -0700)
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>
drivers/usb/gadget/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/Kconfig
b/drivers/usb/gadget/Kconfig
index 4097a86c4b5e125c5de26dc6905259d52ab13657..e081f3ebfb6f35bf7b0802597950d9935b3ecb3d 100644
(file)
--- 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