aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-06-10 17:58:51 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-07-01 16:47:22 -0400
commitb706b13b6cfde22d1f4adc540fd89426247c1e3e (patch)
treec729d6580d4a249f97317f210078b30db821c8cb /net/batman-adv
parenta8a0a62d1f173620f150830db437ddd65a103d49 (diff)
batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h}
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>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/Makefile4
-rw-r--r--net/batman-adv/debugfs.c (renamed from net/batman-adv/bat_debugfs.c)2
-rw-r--r--net/batman-adv/debugfs.h (renamed from net/batman-adv/bat_debugfs.h)0
-rw-r--r--net/batman-adv/gateway_client.c2
-rw-r--r--net/batman-adv/hard-interface.c2
-rw-r--r--net/batman-adv/main.c4
-rw-r--r--net/batman-adv/soft-interface.c4
-rw-r--r--net/batman-adv/sysfs.c (renamed from net/batman-adv/bat_sysfs.c)2
-rw-r--r--net/batman-adv/sysfs.h (renamed from net/batman-adv/bat_sysfs.h)0
9 files changed, 10 insertions, 10 deletions
diff --git a/net/batman-adv/Makefile b/net/batman-adv/Makefile
index 6d5c1940667d..8676d2b1d574 100644
--- a/net/batman-adv/Makefile
+++ b/net/batman-adv/Makefile
@@ -19,11 +19,10 @@
19# 19#
20 20
21obj-$(CONFIG_BATMAN_ADV) += batman-adv.o 21obj-$(CONFIG_BATMAN_ADV) += batman-adv.o
22batman-adv-y += bat_debugfs.o
23batman-adv-y += bat_iv_ogm.o 22batman-adv-y += bat_iv_ogm.o
24batman-adv-y += bat_sysfs.o
25batman-adv-y += bitarray.o 23batman-adv-y += bitarray.o
26batman-adv-$(CONFIG_BATMAN_ADV_BLA) += bridge_loop_avoidance.o 24batman-adv-$(CONFIG_BATMAN_ADV_BLA) += bridge_loop_avoidance.o
25batman-adv-y += debugfs.o
27batman-adv-y += gateway_client.o 26batman-adv-y += gateway_client.o
28batman-adv-y += gateway_common.o 27batman-adv-y += gateway_common.o
29batman-adv-y += hard-interface.o 28batman-adv-y += hard-interface.o
@@ -35,6 +34,7 @@ batman-adv-y += ring_buffer.o
35batman-adv-y += routing.o 34batman-adv-y += routing.o
36batman-adv-y += send.o 35batman-adv-y += send.o
37batman-adv-y += soft-interface.o 36batman-adv-y += soft-interface.o
37batman-adv-y += sysfs.o
38batman-adv-y += translation-table.o 38batman-adv-y += translation-table.o
39batman-adv-y += unicast.o 39batman-adv-y += unicast.o
40batman-adv-y += vis.o 40batman-adv-y += vis.o
diff --git a/net/batman-adv/bat_debugfs.c b/net/batman-adv/debugfs.c
index acf33e265f9c..e45cf0e884cc 100644
--- a/net/batman-adv/bat_debugfs.c
+++ b/net/batman-adv/debugfs.c
@@ -21,7 +21,7 @@
21 21
22#include <linux/debugfs.h> 22#include <linux/debugfs.h>
23 23
24#include "bat_debugfs.h" 24#include "debugfs.h"
25#include "translation-table.h" 25#include "translation-table.h"
26#include "originator.h" 26#include "originator.h"
27#include "hard-interface.h" 27#include "hard-interface.h"
diff --git a/net/batman-adv/bat_debugfs.h b/net/batman-adv/debugfs.h
index 3319e1f21f55..3319e1f21f55 100644
--- a/net/batman-adv/bat_debugfs.h
+++ b/net/batman-adv/debugfs.h
diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c
index 43b9c1763fff..b421cc49d2cd 100644
--- a/net/batman-adv/gateway_client.c
+++ b/net/batman-adv/gateway_client.c
@@ -18,7 +18,7 @@
18 */ 18 */
19 19
20#include "main.h" 20#include "main.h"
21#include "bat_sysfs.h" 21#include "sysfs.h"
22#include "gateway_client.h" 22#include "gateway_client.h"
23#include "gateway_common.h" 23#include "gateway_common.h"
24#include "hard-interface.h" 24#include "hard-interface.h"
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c
index eb765a778ba0..60f50c5426a8 100644
--- a/net/batman-adv/hard-interface.c
+++ b/net/batman-adv/hard-interface.c
@@ -23,7 +23,7 @@
23#include "send.h" 23#include "send.h"
24#include "translation-table.h" 24#include "translation-table.h"
25#include "routing.h" 25#include "routing.h"
26#include "bat_sysfs.h" 26#include "sysfs.h"
27#include "originator.h" 27#include "originator.h"
28#include "hash.h" 28#include "hash.h"
29#include "bridge_loop_avoidance.h" 29#include "bridge_loop_avoidance.h"
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c
index 17dcdd90cb74..13c88b25ab31 100644
--- a/net/batman-adv/main.c
+++ b/net/batman-adv/main.c
@@ -18,8 +18,8 @@
18 */ 18 */
19 19
20#include "main.h" 20#include "main.h"
21#include "bat_sysfs.h" 21#include "sysfs.h"
22#include "bat_debugfs.h" 22#include "debugfs.h"
23#include "routing.h" 23#include "routing.h"
24#include "send.h" 24#include "send.h"
25#include "originator.h" 25#include "originator.h"
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index 7a7d82185393..b7c655cf626a 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -22,12 +22,12 @@
22#include "hard-interface.h" 22#include "hard-interface.h"
23#include "routing.h" 23#include "routing.h"
24#include "send.h" 24#include "send.h"
25#include "bat_debugfs.h" 25#include "debugfs.h"
26#include "translation-table.h" 26#include "translation-table.h"
27#include "hash.h" 27#include "hash.h"
28#include "gateway_common.h" 28#include "gateway_common.h"
29#include "gateway_client.h" 29#include "gateway_client.h"
30#include "bat_sysfs.h" 30#include "sysfs.h"
31#include "originator.h" 31#include "originator.h"
32#include <linux/slab.h> 32#include <linux/slab.h>
33#include <linux/ethtool.h> 33#include <linux/ethtool.h>
diff --git a/net/batman-adv/bat_sysfs.c b/net/batman-adv/sysfs.c
index a0a9ea43157c..66518c75c217 100644
--- a/net/batman-adv/bat_sysfs.c
+++ b/net/batman-adv/sysfs.c
@@ -18,7 +18,7 @@
18 */ 18 */
19 19
20#include "main.h" 20#include "main.h"
21#include "bat_sysfs.h" 21#include "sysfs.h"
22#include "translation-table.h" 22#include "translation-table.h"
23#include "originator.h" 23#include "originator.h"
24#include "hard-interface.h" 24#include "hard-interface.h"
diff --git a/net/batman-adv/bat_sysfs.h b/net/batman-adv/sysfs.h
index 3fd1412b0620..3fd1412b0620 100644
--- a/net/batman-adv/bat_sysfs.h
+++ b/net/batman-adv/sysfs.h