aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-10-09 04:08:29 -0400
committerFelipe Balbi <balbi@ti.com>2013-10-10 11:24:58 -0400
commit8254baccdd2635782826936b72608449b6b4bbde (patch)
treea3b5ab28195063f3cab3ba019a249291b7c49e7a /drivers/usb/gadget
parent7a93d040e01ec9053ec6ea4486f21829d48f903a (diff)
usb: gadget: mass_storage: merge usb_f_mass_storage module with u_ms module
u_ms.ko is needed only together with usb_f_mass_storage.ko. Merge them. 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/gadget')
-rw-r--r--drivers/usb/gadget/Kconfig7
-rw-r--r--drivers/usb/gadget/Makefile4
2 files changed, 1 insertions, 10 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 4b0c456f9d63..604f885345f1 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -525,9 +525,6 @@ config USB_F_SUBSET
525config USB_F_RNDIS 525config USB_F_RNDIS
526 tristate 526 tristate
527 527
528config USB_U_MS
529 tristate
530
531config USB_F_MASS_STORAGE 528config USB_F_MASS_STORAGE
532 tristate 529 tristate
533 530
@@ -671,7 +668,6 @@ config USB_CONFIGFS_PHONET
671config USB_CONFIGFS_MASS_STORAGE 668config USB_CONFIGFS_MASS_STORAGE
672 boolean "Mass storage" 669 boolean "Mass storage"
673 depends on USB_CONFIGFS 670 depends on USB_CONFIGFS
674 select USB_U_MS
675 select USB_F_MASS_STORAGE 671 select USB_F_MASS_STORAGE
676 help 672 help
677 The Mass Storage Gadget acts as a USB Mass Storage disk drive. 673 The Mass Storage Gadget acts as a USB Mass Storage disk drive.
@@ -895,7 +891,6 @@ config USB_MASS_STORAGE
895 tristate "Mass Storage Gadget" 891 tristate "Mass Storage Gadget"
896 depends on BLOCK 892 depends on BLOCK
897 select USB_LIBCOMPOSITE 893 select USB_LIBCOMPOSITE
898 select USB_U_MS
899 select USB_F_MASS_STORAGE 894 select USB_F_MASS_STORAGE
900 help 895 help
901 The Mass Storage Gadget acts as a USB Mass Storage disk drive. 896 The Mass Storage Gadget acts as a USB Mass Storage disk drive.
@@ -1020,7 +1015,6 @@ config USB_G_ACM_MS
1020 select USB_LIBCOMPOSITE 1015 select USB_LIBCOMPOSITE
1021 select USB_U_SERIAL 1016 select USB_U_SERIAL
1022 select USB_F_ACM 1017 select USB_F_ACM
1023 select USB_U_MS
1024 select USB_F_MASS_STORAGE 1018 select USB_F_MASS_STORAGE
1025 help 1019 help
1026 This driver provides two functions in one configuration: 1020 This driver provides two functions in one configuration:
@@ -1037,7 +1031,6 @@ config USB_G_MULTI
1037 select USB_U_SERIAL 1031 select USB_U_SERIAL
1038 select USB_U_ETHER 1032 select USB_U_ETHER
1039 select USB_F_ACM 1033 select USB_F_ACM
1040 select USB_U_MS
1041 select USB_F_MASS_STORAGE 1034 select USB_F_MASS_STORAGE
1042 help 1035 help
1043 The Multifunction Composite Gadget provides Ethernet (RNDIS 1036 The Multifunction Composite Gadget provides Ethernet (RNDIS
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index 4a86b0c06676..f1bd42a2cbba 100644
--- a/drivers/usb/gadget/Makefile
+++ b/drivers/usb/gadget/Makefile
@@ -60,9 +60,7 @@ usb_f_ecm_subset-y := f_subset.o
60obj-$(CONFIG_USB_F_SUBSET) += usb_f_ecm_subset.o 60obj-$(CONFIG_USB_F_SUBSET) += usb_f_ecm_subset.o
61usb_f_rndis-y := f_rndis.o 61usb_f_rndis-y := f_rndis.o
62obj-$(CONFIG_USB_F_RNDIS) += usb_f_rndis.o 62obj-$(CONFIG_USB_F_RNDIS) += usb_f_rndis.o
63u_ms-y := storage_common.o 63usb_f_mass_storage-y := f_mass_storage.o storage_common.o
64obj-$(CONFIG_USB_U_MS) += u_ms.o
65usb_f_mass_storage-y := f_mass_storage.o
66obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o 64obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
67 65
68# 66#