diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-05-12 13:48:54 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-24 18:41:41 +0200 |
commit | e5d89254bf763da35b42a3c65289c9962f7240c2 (patch) | |
tree | 1e981f14fc7d386e4f848e7fbf822f9a773fc2ed /net/batman-adv/send.c | |
parent | 9b4a1159dff76f938aa64f7000621552e4d9ad18 (diff) | |
download | linux-3.10-e5d89254bf763da35b42a3c65289c9962f7240c2.tar.gz linux-3.10-e5d89254bf763da35b42a3c65289c9962f7240c2.tar.bz2 linux-3.10-e5d89254bf763da35b42a3c65289c9962f7240c2.zip |
batman-adv: Prefix hard-interface static inline functions with batadv_
All non-static symbols of batman-adv were prefixed with batadv_ to avoid
collisions with other symbols of the kernel. Other symbols of batman-adv
should use the same prefix to keep the naming scheme consistent.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/send.c')
-rw-r--r-- | net/batman-adv/send.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index 2c92a32ec6c..54091db9d5f 100644 --- a/net/batman-adv/send.c +++ b/net/batman-adv/send.c @@ -101,7 +101,7 @@ static void forw_packet_free(struct forw_packet *forw_packet) if (forw_packet->skb) kfree_skb(forw_packet->skb); if (forw_packet->if_incoming) - hardif_free_ref(forw_packet->if_incoming); + batadv_hardif_free_ref(forw_packet->if_incoming); kfree(forw_packet); } @@ -146,7 +146,7 @@ int batadv_add_bcast_packet_to_list(struct bat_priv *bat_priv, goto out; } - primary_if = primary_if_get_selected(bat_priv); + primary_if = batadv_primary_if_get_selected(bat_priv); if (!primary_if) goto out_and_inc; @@ -180,7 +180,7 @@ out_and_inc: atomic_inc(&bat_priv->bcast_queue_left); out: if (primary_if) - hardif_free_ref(primary_if); + batadv_hardif_free_ref(primary_if); return NETDEV_TX_BUSY; } |