generic: ar8216: add get_port_link callback

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36797
This commit is contained in:
Gabor Juhos
2013-05-30 17:38:22 +00:00
parent 3467b17e69
commit c170d3c3e4
2 changed files with 19 additions and 2 deletions

View File

@@ -78,6 +78,8 @@ struct ar8327_platform_data {
struct ar8327_port_cfg port0_cfg;
struct ar8327_port_cfg port6_cfg;
struct ar8327_led_cfg *led_cfg;
int (*get_port_link)(unsigned port);
};
#endif /* AR8216_PLATFORM_H */