Эх сурвалжийг харах

staging: most: usb: rename module

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>
Christian Gromm 7 жил өмнө
parent
commit
6e01fc7775

+ 1 - 1
drivers/staging/most/Kconfig

@@ -29,6 +29,6 @@ source "drivers/staging/most/dim2/Kconfig"
 
 
 source "drivers/staging/most/i2c/Kconfig"
 source "drivers/staging/most/i2c/Kconfig"
 
 
-source "drivers/staging/most/hdm-usb/Kconfig"
+source "drivers/staging/most/usb/Kconfig"
 
 
 endif
 endif

+ 3 - 4
drivers/staging/most/hdm-usb/Kconfig → drivers/staging/most/usb/Kconfig

@@ -2,13 +2,12 @@
 # MOST USB configuration
 # MOST USB configuration
 #
 #
 
 
-config HDM_USB
-	tristate "USB HDM"
+config MOST_USB
+	tristate "USB"
 	depends on USB && NET
 	depends on USB && NET
-
 	---help---
 	---help---
 	  Say Y here if you want to connect via USB to network tranceiver.
 	  Say Y here if you want to connect via USB to network tranceiver.
 	  This device driver depends on the networking AIM.
 	  This device driver depends on the networking AIM.
 
 
 	  To compile this driver as a module, choose M here: the
 	  To compile this driver as a module, choose M here: the
-	  module will be called hdm_usb.
+	  module will be called most_usb.

+ 4 - 0
drivers/staging/most/usb/Makefile

@@ -0,0 +1,4 @@
+obj-$(CONFIG_MOST_USB) += most_usb.o
+
+most_usb-objs := usb.o
+ccflags-y += -Idrivers/staging/

+ 1 - 1
drivers/staging/most/hdm-usb/hdm_usb.c → drivers/staging/most/usb/usb.c

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 // 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
  * Copyright (C) 2013-2015 Microchip Technology Germany II GmbH & Co. KG
  */
  */