generic: rtl8366: use common rtl8366_mib_counter structure
[openwrt/openwrt.git] / target / linux / generic / files / drivers / net / phy / rtl8366_smi.h
index 32388759662f2ddb90328a021bd011a8c1615dae..f1701a54a4aa331363cff555a8168f72810ee43a 100644 (file)
@@ -20,6 +20,13 @@ struct dentry;
 struct inode;
 struct file;
 
+struct rtl8366_mib_counter {
+       unsigned        base;
+       unsigned        offset;
+       unsigned        length;
+       const char      *name;
+};
+
 struct rtl8366_smi {
        struct device           *parent;
        unsigned int            gpio_sda;