net/designware: fix phy_addr type to int
so we can pass -1 for auto detect Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
65f0148e22
commit
e9ceaed8f8
|
@ -2,7 +2,7 @@
|
|||
#define __DWC_UNIMAC_H
|
||||
|
||||
struct dwc_ether_platform_data {
|
||||
u8 phy_addr;
|
||||
int phy_addr;
|
||||
void (*fix_mac_speed)(int speed);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue