[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170822062708.22340-4-peda@axentia.se>
Date: Tue, 22 Aug 2017 08:27:08 +0200
From: Peter Rosin <peda@...ntia.se>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Peter Rosin <peda@...ntia.se>, linux-kernel@...r.kernel.org
Subject: [RESEND PATCH 3/3] mux: zap mux- prefix from the source files
Preserve the module names with Makefile additions.
Signed-off-by: Peter Rosin <peda@...ntia.se>
---
drivers/mux/Makefile | 5 +++++
drivers/mux/{mux-adg792a.c => adg792a.c} | 0
drivers/mux/{mux-core.c => core.c} | 0
drivers/mux/{mux-gpio.c => gpio.c} | 0
drivers/mux/{mux-mmio.c => mmio.c} | 0
5 files changed, 5 insertions(+)
rename drivers/mux/{mux-adg792a.c => adg792a.c} (100%)
rename drivers/mux/{mux-core.c => core.c} (100%)
rename drivers/mux/{mux-gpio.c => gpio.c} (100%)
rename drivers/mux/{mux-mmio.c => mmio.c} (100%)
diff --git a/drivers/mux/Makefile b/drivers/mux/Makefile
index 6bac5b0fea13..0e1e59760e3f 100644
--- a/drivers/mux/Makefile
+++ b/drivers/mux/Makefile
@@ -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
diff --git a/drivers/mux/mux-adg792a.c b/drivers/mux/adg792a.c
similarity index 100%
rename from drivers/mux/mux-adg792a.c
rename to drivers/mux/adg792a.c
diff --git a/drivers/mux/mux-core.c b/drivers/mux/core.c
similarity index 100%
rename from drivers/mux/mux-core.c
rename to drivers/mux/core.c
diff --git a/drivers/mux/mux-gpio.c b/drivers/mux/gpio.c
similarity index 100%
rename from drivers/mux/mux-gpio.c
rename to drivers/mux/gpio.c
diff --git a/drivers/mux/mux-mmio.c b/drivers/mux/mmio.c
similarity index 100%
rename from drivers/mux/mux-mmio.c
rename to drivers/mux/mmio.c
--
2.11.0
Powered by blists - more mailing lists