summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-11-04 13:46:17 +0100
committerFelipe Balbi <balbi@ti.com>2013-11-25 10:54:31 -0600
commitbc912b0d237c1d376214616ae0c9d12b7d542ab4 (patch)
tree539a85c42c4dcb701b56e3b57d13c89f46196fab /drivers/usb
parent97a27f7340b49d45719b9a3f25489c273e9a6f0d (diff)
downloadop-kernel-dev-bc912b0d237c1d376214616ae0c9d12b7d542ab4.zip
op-kernel-dev-bc912b0d237c1d376214616ae0c9d12b7d542ab4.tar.gz
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 <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index a91e642..f66d96a 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -682,6 +682,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.
OpenPOWER on IntegriCloud