]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: most: net: rename module
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 21 Nov 2017 14:04:39 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:33 +0000 (09:20 +0100)
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>
drivers/staging/most/Kconfig
drivers/staging/most/net/Kconfig [moved from drivers/staging/most/aim-network/Kconfig with 69% similarity]
drivers/staging/most/net/Makefile [new file with mode: 0644]
drivers/staging/most/net/net.c [moved from drivers/staging/most/aim-network/networking.c with 99% similarity]

index 88a415b8d07a57e1a718b86ca9dd03801de1cffc..68a9c89db22acc372d85e01d71d3dfbde449d139 100644 (file)
@@ -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"
 
similarity index 69%
rename from drivers/staging/most/aim-network/Kconfig
rename to drivers/staging/most/net/Kconfig
index 4c66b24cf73c42d7428674835e45f26d1036e592..795330ba94ef3bdff9e2586cc51129e724e2d97d 100644 (file)
@@ -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.
diff --git a/drivers/staging/most/net/Makefile b/drivers/staging/most/net/Makefile
new file mode 100644 (file)
index 0000000..54500aa
--- /dev/null
@@ -0,0 +1,4 @@
+obj-$(CONFIG_MOST_NET) += most_net.o
+
+most_net-objs := net.o
+ccflags-y += -Idrivers/staging/
similarity index 99%
rename from drivers/staging/most/aim-network/networking.c
rename to drivers/staging/most/net/net.c
index 5e082d7d0e8258ee52376f91832c7959ce6b0501..3cbd403aa516ad60030adc4bfcd8da162171fd07 100644 (file)
@@ -496,7 +496,7 @@ static int aim_rx_data(struct mbo *mbo)
 }
 
 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,