mux: zap mux- prefix from the source files
authorPeter Rosin <peda@axentia.se>
Tue, 22 Aug 2017 06:27:08 +0000 (08:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:11:28 +0000 (17:11 +0200)
Preserve the module names with Makefile additions.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mux/Makefile
drivers/mux/adg792a.c [moved from drivers/mux/mux-adg792a.c with 100% similarity]
drivers/mux/core.c [moved from drivers/mux/mux-core.c with 100% similarity]
drivers/mux/gpio.c [moved from drivers/mux/mux-gpio.c with 100% similarity]
drivers/mux/mmio.c [moved from drivers/mux/mux-mmio.c with 100% similarity]

index 6bac5b0..0e1e597 100644 (file)
@@ -2,6 +2,11 @@
 # Makefile for multiplexer devices.
 #
 
+mux-core-objs                  := core.o
+mux-adg792a-objs               := adg792a.o
+mux-gpio-objs                  := gpio.o
+mux-mmio-objs                  := mmio.o
+
 obj-$(CONFIG_MULTIPLEXER)      += mux-core.o
 obj-$(CONFIG_MUX_ADG792A)      += mux-adg792a.o
 obj-$(CONFIG_MUX_GPIO)         += mux-gpio.o
similarity index 100%
rename from drivers/mux/mux-core.c
rename to drivers/mux/core.c
similarity index 100%
rename from drivers/mux/mux-gpio.c
rename to drivers/mux/gpio.c
similarity index 100%
rename from drivers/mux/mux-mmio.c
rename to drivers/mux/mmio.c