lkml.org 
[lkml]   [2017]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] 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%)

Hi Greg!

Your life will be simpler if you apply this after the patch
from Rob (mux: convert to using %pOF instead of full_name)
that I sent on Monday (July 31).

Cheers,
Peter

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-04 01:07    [W:0.048 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site