summaryrefslogtreecommitdiffstats
path: root/drivers/staging/batman-adv/main.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/main.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/main.h')
-rw-r--r--drivers/staging/batman-adv/main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/batman-adv/main.h b/drivers/staging/batman-adv/main.h
index 8b9e297..7cb0b18 100644
--- a/drivers/staging/batman-adv/main.h
+++ b/drivers/staging/batman-adv/main.h
@@ -72,7 +72,7 @@
#define MODULE_ACTIVE 1
#define MODULE_DEACTIVATING 2
-#define BCAST_QUEUE_LEN 256
+#define BCAST_QUEUE_LEN 256
#define BATMAN_QUEUE_LEN 256
/*
@@ -119,6 +119,7 @@ extern int bat_debug_type(int type);
#include <linux/slab.h>
#include <net/sock.h> /* struct sock */
#include <linux/jiffies.h>
+#include <linux/seq_file.h>
#include "types.h"
#ifndef REVISION_VERSION
OpenPOWER on IntegriCloud