Signed-off-by: Martin Hundebøll martin@hundeboll.net --- sysfs.c | 5 ++--- sysfs.h | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/sysfs.c b/sysfs.c index fc47baa..bf8800e 100644 --- a/sysfs.c +++ b/sysfs.c @@ -62,6 +62,7 @@ static struct batadv_priv *batadv_vlan_kobj_to_batpriv(struct kobject *obj)
/** * batadv_kobj_to_vlan - convert a kobj in the associated softif_vlan struct + * @bat_priv: batman-adv private data * @obj: kobject to covert * * Returns the associated softif_vlan struct if found, NULL otherwise. @@ -593,9 +594,7 @@ static struct batadv_attribute *batadv_mesh_attrs[] = {
BATADV_ATTR_VLAN_BOOL(ap_isolation, S_IRUGO | S_IWUSR, NULL);
-/** - * batadv_vlan_attrs - array of vlan specific sysfs attributes - */ +/* struct batadv_vlan_attrs - array of vlan specific sysfs attributes */ static struct batadv_attribute *batadv_vlan_attrs[] = { &batadv_attr_vlan_ap_isolation, NULL, diff --git a/sysfs.h b/sysfs.h index b715b60..68b8c99 100644 --- a/sysfs.h +++ b/sysfs.h @@ -20,10 +20,10 @@
#define BATADV_SYSFS_IF_MESH_SUBDIR "mesh" #define BATADV_SYSFS_IF_BAT_SUBDIR "batman_adv" -/** - * BATADV_SYSFS_VLAN_SUBDIR_PREFIX - prefix of the subfolder that will be - * created in the sysfs hierarchy for each VLAN interface. The subfolder will - * be named "BATADV_SYSFS_VLAN_SUBDIR_PREFIX%vid". + +/* BATADV_SYSFS_VLAN_SUBDIR_PREFIX - prefix of the subfolder that will be + * created in the sysfs hierarchy for each VLAN interface. The subfolder will + * be named "BATADV_SYSFS_VLAN_SUBDIR_PREFIX%vid". */ #define BATADV_SYSFS_VLAN_SUBDIR_PREFIX "vlan"