lkml.org 
[lkml]   [2017]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RESEND PATCH 3/3] mux: zap mux- prefix from the source files
Date
Preserve the module names with Makefile additions.

Signed-off-by: Peter Rosin <peda@axentia.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
\
 
 \ /
  Last update: 2017-08-22 08:28    [W:0.056 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site