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:
committed by
Petr Štetiar
parent
2e6c96a649
commit
ebec6c9f85
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user