]> git.karo-electronics.de Git - linux-beck.git/commitdiff
batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h}
authorSven Eckelmann <sven@narfation.org>
Sun, 10 Jun 2012 21:58:51 +0000 (23:58 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Sun, 1 Jul 2012 20:47:22 +0000 (22:47 +0200)
The "bat_" prefix in the source files implementing the batman-adv sysfs and
debugfs interface doesn't have a special meaning and are only used by these
files and files that implement the actual B.A.T.M.A.N. path finding algorithm.

The prefix is better suited to mark files that are used to implement the main
part of the path finding. All other files should not use it and therefore gets
renamed.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/Makefile
net/batman-adv/debugfs.c [moved from net/batman-adv/bat_debugfs.c with 99% similarity]
net/batman-adv/debugfs.h [moved from net/batman-adv/bat_debugfs.h with 100% similarity]
net/batman-adv/gateway_client.c
net/batman-adv/hard-interface.c
net/batman-adv/main.c
net/batman-adv/soft-interface.c
net/batman-adv/sysfs.c [moved from net/batman-adv/bat_sysfs.c with 99% similarity]
net/batman-adv/sysfs.h [moved from net/batman-adv/bat_sysfs.h with 100% similarity]

index 6d5c1940667dd84a4339b40c25b02df83570b946..8676d2b1d57438d94ba90cef20e63c345880cdd3 100644 (file)
 #
 
 obj-$(CONFIG_BATMAN_ADV) += batman-adv.o
-batman-adv-y += bat_debugfs.o
 batman-adv-y += bat_iv_ogm.o
-batman-adv-y += bat_sysfs.o
 batman-adv-y += bitarray.o
 batman-adv-$(CONFIG_BATMAN_ADV_BLA) += bridge_loop_avoidance.o
+batman-adv-y += debugfs.o
 batman-adv-y += gateway_client.o
 batman-adv-y += gateway_common.o
 batman-adv-y += hard-interface.o
@@ -35,6 +34,7 @@ batman-adv-y += ring_buffer.o
 batman-adv-y += routing.o
 batman-adv-y += send.o
 batman-adv-y += soft-interface.o
+batman-adv-y += sysfs.o
 batman-adv-y += translation-table.o
 batman-adv-y += unicast.o
 batman-adv-y += vis.o
similarity index 99%
rename from net/batman-adv/bat_debugfs.c
rename to net/batman-adv/debugfs.c
index acf33e265f9c57c42cbbe5b44c0f7bcc7e0d93df..e45cf0e884cc173af1f9e1223a6c49bca3255251 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <linux/debugfs.h>
 
-#include "bat_debugfs.h"
+#include "debugfs.h"
 #include "translation-table.h"
 #include "originator.h"
 #include "hard-interface.h"
index 43b9c1763ffffacfe6fe59628604a6dae0f391df..b421cc49d2cd1f83a88b905047df40e2853c4b0b 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include "main.h"
-#include "bat_sysfs.h"
+#include "sysfs.h"
 #include "gateway_client.h"
 #include "gateway_common.h"
 #include "hard-interface.h"
index eb765a778ba0813c5e2fe6d03ecf73cca190788d..60f50c5426a891b6612b5d21173d290f605627cc 100644 (file)
@@ -23,7 +23,7 @@
 #include "send.h"
 #include "translation-table.h"
 #include "routing.h"
-#include "bat_sysfs.h"
+#include "sysfs.h"
 #include "originator.h"
 #include "hash.h"
 #include "bridge_loop_avoidance.h"
index 17dcdd90cb744587768f6c0edbab2ad4f4abea41..13c88b25ab319a15260e77d12c65957180c46b9c 100644 (file)
@@ -18,8 +18,8 @@
  */
 
 #include "main.h"
-#include "bat_sysfs.h"
-#include "bat_debugfs.h"
+#include "sysfs.h"
+#include "debugfs.h"
 #include "routing.h"
 #include "send.h"
 #include "originator.h"
index 7a7d8218539300e62616322d0c449117a6d29864..b7c655cf626aa980561b922a86dd3cb23d18fc56 100644 (file)
 #include "hard-interface.h"
 #include "routing.h"
 #include "send.h"
-#include "bat_debugfs.h"
+#include "debugfs.h"
 #include "translation-table.h"
 #include "hash.h"
 #include "gateway_common.h"
 #include "gateway_client.h"
-#include "bat_sysfs.h"
+#include "sysfs.h"
 #include "originator.h"
 #include <linux/slab.h>
 #include <linux/ethtool.h>
similarity index 99%
rename from net/batman-adv/bat_sysfs.c
rename to net/batman-adv/sysfs.c
index a0a9ea43157c3a51b27e0d78e8419b42547f319e..66518c75c217459d39f7bc8e79aed34b25b20e22 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include "main.h"
-#include "bat_sysfs.h"
+#include "sysfs.h"
 #include "translation-table.h"
 #include "originator.h"
 #include "hard-interface.h"