Selaa lähdekoodia

staging: most: net: rename module

This patch renames the folder and the source file of the networking 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 vuotta sitten
vanhempi
commit
9c7201bfd9

+ 1 - 1
drivers/staging/most/Kconfig

@@ -19,7 +19,7 @@ if MOST
 
 source "drivers/staging/most/cdev/Kconfig"
 
-source "drivers/staging/most/aim-network/Kconfig"
+source "drivers/staging/most/net/Kconfig"
 
 source "drivers/staging/most/aim-sound/Kconfig"
 

+ 3 - 3
drivers/staging/most/aim-network/Kconfig → drivers/staging/most/net/Kconfig

@@ -2,12 +2,12 @@
 # MOST Networking configuration
 #
 
-config AIM_NETWORK
-	tristate "Networking AIM"
+config MOST_NET
+	tristate "Net"
 	depends on NET
 
 	---help---
 	  Say Y here if you want to commumicate via a networking device.
 
 	  To compile this driver as a module, choose M here: the
-	  module will be called aim_network.
+	  module will be called most_net.

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

@@ -0,0 +1,4 @@
+obj-$(CONFIG_MOST_NET) += most_net.o
+
+most_net-objs := net.o
+ccflags-y += -Idrivers/staging/

+ 1 - 1
drivers/staging/most/aim-network/networking.c → drivers/staging/most/net/net.c

@@ -496,7 +496,7 @@ put_nd:
 }
 
 static struct most_aim aim = {
-	.name = "networking",
+	.name = "net",
 	.probe_channel = aim_probe_channel,
 	.disconnect_channel = aim_disconnect_channel,
 	.tx_completion = aim_resume_tx_channel,