mt76: introduce struct mt76_phy
[linux-2.6-microblaze.git] / drivers / net / wireless / mediatek / mt76 / mt7603 / mt7603.h
index ab54b06..63ec1fa 100644 (file)
@@ -98,7 +98,10 @@ enum mt7603_reset_cause {
 };
 
 struct mt7603_dev {
-       struct mt76_dev mt76; /* must be first */
+       union { /* must be first */
+               struct mt76_dev mt76;
+               struct mt76_phy mphy;
+       };
 
        const struct mt76_bus_ops *bus_ops;