generic: rtl8366: add common rtl8366_sw_get_vlan_info
[openwrt/openwrt.git] / target / linux / generic / files / drivers / net / phy / rtl8366_smi.h
index b53c5010cea8ff891489d9ebbbcef5cc78f80152..ae3b7db6f2b62edd06820ca1c7ebbc564dd3e20a 100644 (file)
@@ -114,5 +114,8 @@ int rtl8366_sw_set_port_pvid(struct switch_dev *dev, int port, int val);
 int rtl8366_sw_get_port_mib(struct switch_dev *dev,
                            const struct switch_attr *attr,
                            struct switch_val *val);
+int rtl8366_sw_get_vlan_info(struct switch_dev *dev,
+                            const struct switch_attr *attr,
+                            struct switch_val *val);
 
 #endif /*  _RTL8366_SMI_H */