Commit b706b13b authored by Sven Eckelmann's avatar Sven Eckelmann Committed by Antonio Quartulli

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: default avatarSven Eckelmann <sven@narfation.org>
parent a8a0a62d
...@@ -19,11 +19,10 @@ ...@@ -19,11 +19,10 @@
# #
obj-$(CONFIG_BATMAN_ADV) += batman-adv.o obj-$(CONFIG_BATMAN_ADV) += batman-adv.o
batman-adv-y += bat_debugfs.o
batman-adv-y += bat_iv_ogm.o batman-adv-y += bat_iv_ogm.o
batman-adv-y += bat_sysfs.o
batman-adv-y += bitarray.o batman-adv-y += bitarray.o
batman-adv-$(CONFIG_BATMAN_ADV_BLA) += bridge_loop_avoidance.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_client.o
batman-adv-y += gateway_common.o batman-adv-y += gateway_common.o
batman-adv-y += hard-interface.o batman-adv-y += hard-interface.o
...@@ -35,6 +34,7 @@ batman-adv-y += ring_buffer.o ...@@ -35,6 +34,7 @@ batman-adv-y += ring_buffer.o
batman-adv-y += routing.o batman-adv-y += routing.o
batman-adv-y += send.o batman-adv-y += send.o
batman-adv-y += soft-interface.o batman-adv-y += soft-interface.o
batman-adv-y += sysfs.o
batman-adv-y += translation-table.o batman-adv-y += translation-table.o
batman-adv-y += unicast.o batman-adv-y += unicast.o
batman-adv-y += vis.o batman-adv-y += vis.o
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include "bat_debugfs.h" #include "debugfs.h"
#include "translation-table.h" #include "translation-table.h"
#include "originator.h" #include "originator.h"
#include "hard-interface.h" #include "hard-interface.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
*/ */
#include "main.h" #include "main.h"
#include "bat_sysfs.h" #include "sysfs.h"
#include "gateway_client.h" #include "gateway_client.h"
#include "gateway_common.h" #include "gateway_common.h"
#include "hard-interface.h" #include "hard-interface.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "send.h" #include "send.h"
#include "translation-table.h" #include "translation-table.h"
#include "routing.h" #include "routing.h"
#include "bat_sysfs.h" #include "sysfs.h"
#include "originator.h" #include "originator.h"
#include "hash.h" #include "hash.h"
#include "bridge_loop_avoidance.h" #include "bridge_loop_avoidance.h"
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
*/ */
#include "main.h" #include "main.h"
#include "bat_sysfs.h" #include "sysfs.h"
#include "bat_debugfs.h" #include "debugfs.h"
#include "routing.h" #include "routing.h"
#include "send.h" #include "send.h"
#include "originator.h" #include "originator.h"
......
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
#include "hard-interface.h" #include "hard-interface.h"
#include "routing.h" #include "routing.h"
#include "send.h" #include "send.h"
#include "bat_debugfs.h" #include "debugfs.h"
#include "translation-table.h" #include "translation-table.h"
#include "hash.h" #include "hash.h"
#include "gateway_common.h" #include "gateway_common.h"
#include "gateway_client.h" #include "gateway_client.h"
#include "bat_sysfs.h" #include "sysfs.h"
#include "originator.h" #include "originator.h"
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/ethtool.h> #include <linux/ethtool.h>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
*/ */
#include "main.h" #include "main.h"
#include "bat_sysfs.h" #include "sysfs.h"
#include "translation-table.h" #include "translation-table.h"
#include "originator.h" #include "originator.h"
#include "hard-interface.h" #include "hard-interface.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment