]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
greybus: Remove "gb-" prefix from .c files
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 21 Jan 2015 10:40:41 +0000 (16:10 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 22 Jan 2015 03:27:20 +0000 (11:27 +0800)
Some files are still prefixed with "gb-" with the reasoning that the modules
would be named so, i.e.  gb-*.ko. But this can be done by playing a bit in
Makefile instead and keep uniform naming of .c files.

Lets try it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/Makefile
drivers/staging/greybus/battery.c [moved from drivers/staging/greybus/gb-battery.c with 100% similarity]
drivers/staging/greybus/es1.c [moved from drivers/staging/greybus/gb-es1.c with 100% similarity]
drivers/staging/greybus/es2.c [moved from drivers/staging/greybus/gb-es2.c with 100% similarity]
drivers/staging/greybus/vibrator.c [moved from drivers/staging/greybus/gb-vibrator.c with 100% similarity]

index 55b4a37c58fbb5b5924e29ebfa7ea75001adeb39..79af8128aac90a75886179d931e4a2ab8cd0c493 100644 (file)
@@ -17,6 +17,12 @@ gb-phy-y :=  gpb.o           \
                i2c.o   \
                usb.o
 
+# Prefix all modules with gb-
+gb-vibrator-y := vibrator.o
+gb-battery-y := battery.o
+gb-es1-y := es1.o
+gb-es2-y := es2.o
+
 obj-m += greybus.o
 obj-m += gb-phy.o
 obj-m += gb-vibrator.o