aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-07 16:32:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-07 16:32:33 +0000
commit759c341e68f1107b5aebac7373f2c4be8905677d (patch)
treeb156990be6b25531bc84fc31b6a7481ca9be25db /target/linux/generic/files/include
parentfc9db6f410b480ee17c9262399f1283e1c0750bc (diff)
downloadupstream-759c341e68f1107b5aebac7373f2c4be8905677d.tar.gz
upstream-759c341e68f1107b5aebac7373f2c4be8905677d.tar.bz2
upstream-759c341e68f1107b5aebac7373f2c4be8905677d.zip
generic: swconfig: add a generic get_port_link implementation
SVN-Revision: 30839
Diffstat (limited to 'target/linux/generic/files/include')
-rw-r--r--target/linux/generic/files/include/linux/switch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/switch.h b/target/linux/generic/files/include/linux/switch.h
index ba1de9b18b..2c88bb3276 100644
--- a/target/linux/generic/files/include/linux/switch.h
+++ b/target/linux/generic/files/include/linux/switch.h
@@ -194,6 +194,8 @@ struct switch_dev {
spinlock_t lock;
struct switch_port *portbuf;
+ char buf[128];
+
#ifdef CONFIG_SWCONFIG_LEDS
struct switch_led_trigger *led_trigger;
#endif