staging: most: usb: rename module
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 21 Nov 2017 14:04:41 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:34 +0000 (09:20 +0100)
This patch renames the folder of the usb module. It is needed
to clean up the  directory layout of the driver.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/Kconfig
drivers/staging/most/usb/Kconfig [moved from drivers/staging/most/hdm-usb/Kconfig with 77% similarity]
drivers/staging/most/usb/Makefile [new file with mode: 0644]
drivers/staging/most/usb/usb.c [moved from drivers/staging/most/hdm-usb/hdm_usb.c with 99% similarity]

index 3f12711..86d4f12 100644 (file)
@@ -29,6 +29,6 @@ source "drivers/staging/most/dim2/Kconfig"
 
 source "drivers/staging/most/i2c/Kconfig"
 
-source "drivers/staging/most/hdm-usb/Kconfig"
+source "drivers/staging/most/usb/Kconfig"
 
 endif
similarity index 77%
rename from drivers/staging/most/hdm-usb/Kconfig
rename to drivers/staging/most/usb/Kconfig
index 487f1f3..ebbdb57 100644 (file)
@@ -2,13 +2,12 @@
 # MOST USB configuration
 #
 
-config HDM_USB
-       tristate "USB HDM"
+config MOST_USB
+       tristate "USB"
        depends on USB && NET
-
        ---help---
          Say Y here if you want to connect via USB to network tranceiver.
          This device driver depends on the networking AIM.
 
          To compile this driver as a module, choose M here: the
-         module will be called hdm_usb.
+         module will be called most_usb.
diff --git a/drivers/staging/most/usb/Makefile b/drivers/staging/most/usb/Makefile
new file mode 100644 (file)
index 0000000..18d28cb
--- /dev/null
@@ -0,0 +1,4 @@
+obj-$(CONFIG_MOST_USB) += most_usb.o
+
+most_usb-objs := usb.o
+ccflags-y += -Idrivers/staging/
similarity index 99%
rename from drivers/staging/most/hdm-usb/hdm_usb.c
rename to drivers/staging/most/usb/usb.c
index f036614..b2d2abe 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * hdm_usb.c - Hardware dependent module for USB
+ * usb.c - Hardware dependent module for USB
  *
  * Copyright (C) 2013-2015 Microchip Technology Germany II GmbH & Co. KG
  */