[PATCH] gadget-storage needs BLOCK

Randy Dunlap <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Oracle Linux Eng.
Message-ID <[email protected]>
Resend from NOV-2006 and still needed:


Date: Fri, 17 Nov 2006 22:19:27 -0800
From: Randy Dunlap <[email protected]>
To: lud <[email protected]>
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.