9
0
Fork 0

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:
Jean-Christophe PLAGNIOL-VILLARD 2012-10-04 09:00:26 +02:00 committed by Sascha Hauer
parent 65f0148e22
commit e9ceaed8f8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
};