From: Andrzej Pietrasiewicz Date: Mon, 4 Nov 2013 12:46:17 +0000 (+0100) Subject: usb: gadget: f_mass_storage: fix mass storage dependency X-Git-Tag: submit/tizen/20141121.110247~2694 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94fa8100378c6b84bad54b8ea1d7c38988cc1bc0;p=platform%2Fkernel%2Flinux-3.10.git usb: gadget: f_mass_storage: fix mass storage dependency Legacy gadgets supporting mass storage (g_mass_storage, g_acm_ms, g_multi) all depend on BLOCK. Make the standalone compilation of f_mass_storage (without any legacy gadget) dependent no BLOCK, too. Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index c864c884..085b11e 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -679,6 +679,7 @@ config USB_CONFIGFS_PHONET config USB_CONFIGFS_MASS_STORAGE boolean "Mass storage" depends on USB_CONFIGFS + depends on BLOCK select USB_F_MASS_STORAGE help The Mass Storage Gadget acts as a USB Mass Storage disk drive.