summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/originator.h
diff options
context:
space:
mode:
authorMarek Lindner <mareklindner@neomailbox.ch>2015-07-26 04:59:15 +0800
committerAntonio Quartulli <antonio@meshcoding.com>2015-08-27 20:15:32 +0200
commit3f32f8a6874ae2515c8894588a5c60dd65ecc7e5 (patch)
treee203fe0627284d2e7a12930c3642083dbc7a19ac /net/batman-adv/originator.h
parentbd3524c14bd02f94a4fa33e700883e01182f5ed5 (diff)
downloadop-kernel-dev-3f32f8a6874ae2515c8894588a5c60dd65ecc7e5.zip
op-kernel-dev-3f32f8a6874ae2515c8894588a5c60dd65ecc7e5.tar.gz
batman-adv: rearrange batadv_neigh_node_new() arguments to follow convention
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Acked-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/originator.h')
-rw-r--r--net/batman-adv/originator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/batman-adv/originator.h b/net/batman-adv/originator.h
index 3fc76f6..fde3438 100644
--- a/net/batman-adv/originator.h
+++ b/net/batman-adv/originator.h
@@ -46,8 +46,9 @@ batadv_neigh_node_get(const struct batadv_orig_node *orig_node,
const struct batadv_hard_iface *hard_iface,
const u8 *addr);
struct batadv_neigh_node *
-batadv_neigh_node_new(struct batadv_hard_iface *hard_iface,
- const u8 *neigh_addr, struct batadv_orig_node *orig_node);
+batadv_neigh_node_new(struct batadv_orig_node *orig_node,
+ struct batadv_hard_iface *hard_iface,
+ const u8 *neigh_addr);
void batadv_neigh_node_free_ref(struct batadv_neigh_node *neigh_node);
struct batadv_neigh_node *
batadv_orig_router_get(struct batadv_orig_node *orig_node,
OpenPOWER on IntegriCloud