generic: swconfig: add a generic get_port_link implementation

SVN-Revision: 30839
This commit is contained in:
Gabor Juhos
2012-03-07 16:32:33 +00:00
parent fc9db6f410
commit 759c341e68
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