diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-07 16:32:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-07 16:32:33 +0000 |
commit | 30da07d668f14fbe3c86c9ca9fd5a1ce49812bca (patch) | |
tree | 4c1f41f1cbea629b1b9d4b17fb977d8b98843c22 /target/linux/generic/files/include | |
parent | 0c2840d0b6cb218adc0d448ad37275ab3e4bd4db (diff) | |
download | master-187ad058-30da07d668f14fbe3c86c9ca9fd5a1ce49812bca.tar.gz master-187ad058-30da07d668f14fbe3c86c9ca9fd5a1ce49812bca.tar.bz2 master-187ad058-30da07d668f14fbe3c86c9ca9fd5a1ce49812bca.zip |
generic: swconfig: add a generic get_port_link implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30839 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/include')
-rw-r--r-- | target/linux/generic/files/include/linux/switch.h | 2 |
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 |