generic: ar8216: add get_port_link callback
[openwrt.git] / target / linux / generic / files / include / linux / ar8216_platform.h
index c6c6144e850ef7e9d35f2dbe9d2c3fbac2bbfdec..92e8eda663d0121b847ce4e5a2bde5496b39e905 100644 (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 */
\ No newline at end of file