2
0
forked from Ivasoft/openwrt

generic: ar8216: add device struct into struct ar8xxx_priv

dev has been taken up by switch_dev so it's named pdev instead.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
Chuanhong Guo
2019-01-10 13:23:42 +08:00
committed by Petr Štetiar
parent 2e6c96a649
commit ebec6c9f85
3 changed files with 5 additions and 2 deletions

View File

@@ -424,6 +424,7 @@ struct ar8xxx_priv {
struct switch_dev dev;
struct mii_bus *mii_bus;
struct phy_device *phy;
struct device *pdev;
int (*get_port_link)(unsigned port);