generic: swconfig: add a generic get_port_link implementation

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30839 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Gabor Juhos
2012-03-07 16:32:33 +00:00
parent 0c2840d0b6
commit 30da07d668
2 changed files with 81 additions and 0 deletions

View File

@@ -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