Resend from NOV-2006 and still needed:

Date: Fri, 17 Nov 2006 22:19:27 -0800
From: Randy Dunlap <[EMAIL PROTECTED]>
To: lud <linux-usb-devel@lists.sourceforge.net>
Cc: [EMAIL PROTECTED]
Subject: [PATCH] gadget-storage needs BLOCK


From: Randy Dunlap <[EMAIL PROTECTED]>
Acked-by: Alan Stern <[EMAIL PROTECTED]>

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]>
---
 drivers/usb/gadget/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-2619-rc6.orig/drivers/usb/gadget/Kconfig
+++ linux-2619-rc6/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



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to