]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: gadget: mass_storage: merge usb_f_mass_storage module with u_ms module
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Wed, 9 Oct 2013 08:08:29 +0000 (10:08 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 10 Oct 2013 15:24:58 +0000 (10:24 -0500)
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>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Makefile

index 4b0c456f9d631b8448977fc06c6aecf4cf11c2a8..604f885345f1a7dabe5bc600b88634cdfb8019fa 100644 (file)
@@ -525,9 +525,6 @@ config USB_F_SUBSET
 config USB_F_RNDIS
        tristate
 
-config USB_U_MS
-       tristate
-
 config USB_F_MASS_STORAGE
        tristate
 
@@ -671,7 +668,6 @@ config USB_CONFIGFS_PHONET
 config USB_CONFIGFS_MASS_STORAGE
        boolean "Mass storage"
        depends on USB_CONFIGFS
-       select USB_U_MS
        select USB_F_MASS_STORAGE
        help
          The Mass Storage Gadget acts as a USB Mass Storage disk drive.
@@ -895,7 +891,6 @@ config USB_MASS_STORAGE
        tristate "Mass Storage Gadget"
        depends on BLOCK
        select USB_LIBCOMPOSITE
-       select USB_U_MS
        select USB_F_MASS_STORAGE
        help
          The Mass Storage Gadget acts as a USB Mass Storage disk drive.
@@ -1020,7 +1015,6 @@ config USB_G_ACM_MS
        select USB_LIBCOMPOSITE
        select USB_U_SERIAL
        select USB_F_ACM
-       select USB_U_MS
        select USB_F_MASS_STORAGE
        help
          This driver provides two functions in one configuration:
@@ -1037,7 +1031,6 @@ config USB_G_MULTI
        select USB_U_SERIAL
        select USB_U_ETHER
        select USB_F_ACM
-       select USB_U_MS
        select USB_F_MASS_STORAGE
        help
          The Multifunction Composite Gadget provides Ethernet (RNDIS
index 4a86b0c06676359c589023302d463142e0757a3d..f1bd42a2cbbada18502099be1a6fbc2efa0149ec 100644 (file)
@@ -60,9 +60,7 @@ usb_f_ecm_subset-y            := f_subset.o
 obj-$(CONFIG_USB_F_SUBSET)     += usb_f_ecm_subset.o
 usb_f_rndis-y                  := f_rndis.o
 obj-$(CONFIG_USB_F_RNDIS)      += usb_f_rndis.o
-u_ms-y                         := storage_common.o
-obj-$(CONFIG_USB_U_MS)         += u_ms.o
-usb_f_mass_storage-y           := f_mass_storage.o
+usb_f_mass_storage-y           := f_mass_storage.o storage_common.o
 obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
 
 #