diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2017-11-21 17:04:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-27 11:20:33 +0300 |
commit | 9c7201bfd94e30cfabfa86d31e7b698a1a007d94 (patch) | |
tree | 2c4bbcb8b71d084b9d65d380a28544e9420b4a40 /drivers/staging/most | |
parent | 9249c6a6d3560f09cddd04e2fda856f237b64987 (diff) | |
download | linux-9c7201bfd94e30cfabfa86d31e7b698a1a007d94.tar.xz |
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>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r-- | drivers/staging/most/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/most/net/Kconfig (renamed from drivers/staging/most/aim-network/Kconfig) | 6 | ||||
-rw-r--r-- | drivers/staging/most/net/Makefile | 4 | ||||
-rw-r--r-- | drivers/staging/most/net/net.c (renamed from drivers/staging/most/aim-network/networking.c) | 2 |
4 files changed, 9 insertions, 5 deletions
diff --git a/drivers/staging/most/Kconfig b/drivers/staging/most/Kconfig index 88a415b8d07a..68a9c89db22a 100644 --- a/drivers/staging/most/Kconfig +++ b/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" diff --git a/drivers/staging/most/aim-network/Kconfig b/drivers/staging/most/net/Kconfig index 4c66b24cf73c..795330ba94ef 100644 --- a/drivers/staging/most/aim-network/Kconfig +++ b/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. diff --git a/drivers/staging/most/net/Makefile b/drivers/staging/most/net/Makefile new file mode 100644 index 000000000000..54500aa77be8 --- /dev/null +++ b/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/ diff --git a/drivers/staging/most/aim-network/networking.c b/drivers/staging/most/net/net.c index 5e082d7d0e82..3cbd403aa516 100644 --- a/drivers/staging/most/aim-network/networking.c +++ b/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, |