ramips: reset mt7620 ethernet phy via reset controller
[openwrt/staging/wigyori.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / gsw_mt7620.h
index cb5d098e9cea48cc085c400834b1570026c00d8c..12cab39b771f07de6a805177242dbc911dd913c7 100644 (file)
@@ -12,6 +12,8 @@
  *   Copyright (C) 2013-2015 Michael Lee <igvtee@gmail.com>
  */
 
+#include <linux/reset.h>
+
 #ifndef _RALINK_GSW_MT7620_H__
 #define _RALINK_GSW_MT7620_H__
 
@@ -90,6 +92,7 @@ enum {
 
 struct mt7620_gsw {
        struct device           *dev;
+       struct reset_control    *rst_ephy;
        void __iomem            *base;
        int                     irq;
        bool                    ephy_disable;