Commit:     87840289637e9ea95118ebd76e2e335fdcddd725
Parent:     2add5229d77a3de08015feef437653e02372162f
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Wed Mar 21 13:57:51 2007 -0700
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 13:28:37 2007 -0700

    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 <[EMAIL PROTECTED]>
    Acked-by: Alan Stern <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 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
        tristate "File-backed Storage Gadget"
+       depends on BLOCK
          The File-backed Storage Gadget acts as a USB Mass Storage
          disk drive.  As its storage repository it can use a regular
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to