diff options
author | Linus Luessing <linus.luessing@web.de> | 2016-01-16 11:40:08 +0300 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-02-29 11:05:29 +0300 |
commit | 0744ff8fa8fad7aae669b73fd78f3efe1d8e31ca (patch) | |
tree | 2b77cc58902d48ea182e774f485238f9b190eb8f /net/batman-adv/bat_v_elp.c | |
parent | f12d33f4d83c6837d176e1aef337914089c77957 (diff) | |
download | linux-0744ff8fa8fad7aae669b73fd78f3efe1d8e31ca.tar.xz |
batman-adv: Add hard_iface specific sysfs wrapper macros for UINT
This allows us to easily add a sysfs parameter for an
unsigned int later, which is not for a batman mesh interface
(e.g. bat0), but for a common interface instead. It allows
reading and writing an atomic_t in hard_iface (instead of
bat_priv compared to the mesh variant).
Developed by Linus during a 6 months trainee study period in
Ascom (Switzerland) AG.
Signed-off-by: Linus Luessing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
[antonio@open-mesh.com: rename functions and move macros]
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Diffstat (limited to 'net/batman-adv/bat_v_elp.c')
0 files changed, 0 insertions, 0 deletions