diff options
Diffstat (limited to 'net/batman-adv/sysfs.c')
-rw-r--r-- | net/batman-adv/sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c index f51b484abaa4..fc47baa888c5 100644 --- a/net/batman-adv/sysfs.c +++ b/net/batman-adv/sysfs.c | |||
@@ -108,7 +108,7 @@ struct batadv_attribute batadv_attr_vlan_##_name = { \ | |||
108 | .mode = _mode }, \ | 108 | .mode = _mode }, \ |
109 | .show = _show, \ | 109 | .show = _show, \ |
110 | .store = _store, \ | 110 | .store = _store, \ |
111 | }; | 111 | } |
112 | 112 | ||
113 | /* Use this, if you have customized show and store functions */ | 113 | /* Use this, if you have customized show and store functions */ |
114 | #define BATADV_ATTR(_name, _mode, _show, _store) \ | 114 | #define BATADV_ATTR(_name, _mode, _show, _store) \ |
@@ -117,7 +117,7 @@ struct batadv_attribute batadv_attr_##_name = { \ | |||
117 | .mode = _mode }, \ | 117 | .mode = _mode }, \ |
118 | .show = _show, \ | 118 | .show = _show, \ |
119 | .store = _store, \ | 119 | .store = _store, \ |
120 | }; | 120 | } |
121 | 121 | ||
122 | #define BATADV_ATTR_SIF_STORE_BOOL(_name, _post_func) \ | 122 | #define BATADV_ATTR_SIF_STORE_BOOL(_name, _post_func) \ |
123 | ssize_t batadv_store_##_name(struct kobject *kobj, \ | 123 | ssize_t batadv_store_##_name(struct kobject *kobj, \ |