summaryrefslogtreecommitdiffstats
path: root/drivers/staging/batman-adv/originator.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@gmx.de>2010-06-22 01:25:43 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-22 14:05:03 -0700
commit4caecbc03931522bd4af165edb1cfcfc4d3d7887 (patch)
tree57fb33080fa2507d8a3633b90da15ba2f842bcb7 /drivers/staging/batman-adv/originator.h
parentc41214328a7635dc35aa81d89ea579c8a2eb2769 (diff)
downloadop-kernel-dev-4caecbc03931522bd4af165edb1cfcfc4d3d7887.zip
op-kernel-dev-4caecbc03931522bd4af165edb1cfcfc4d3d7887.tar.gz
Staging: batman-adv: Move tables from sysfs to debugfs
Files which represent more than a single attribute aren't allowed in sysfs. As we have some files which aren't essential and are lists or tables aggregated from data from different places inside batman-adv, we must place them in a filesystem without such a restriction. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/batman-adv/originator.h')
-rw-r--r--drivers/staging/batman-adv/originator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/batman-adv/originator.h b/drivers/staging/batman-adv/originator.h
index afbc7c0..e91e8a1 100644
--- a/drivers/staging/batman-adv/originator.h
+++ b/drivers/staging/batman-adv/originator.h
@@ -28,7 +28,6 @@ struct orig_node *get_orig_node(uint8_t *addr);
struct neigh_node *
create_neighbor(struct orig_node *orig_node, struct orig_node *orig_neigh_node,
uint8_t *neigh, struct batman_if *if_incoming);
-ssize_t orig_fill_buffer_text(struct net_device *net_dev, char *buff,
- size_t count, loff_t off);
+int orig_seq_print_text(struct seq_file *seq, void *offset);
int orig_hash_add_if(struct batman_if *batman_if, int max_if_num);
int orig_hash_del_if(struct batman_if *batman_if, int max_if_num);
OpenPOWER on IntegriCloud