From e9ceaed8f8393c24ee8a08de8c15000500bfee74 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 4 Oct 2012 09:00:26 +0200 Subject: [PATCH] net/designware: fix phy_addr type to int so we can pass -1 for auto detect Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- include/net/designware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/designware.h b/include/net/designware.h index 3f9f5b97a..1c8a00edf 100644 --- a/include/net/designware.h +++ b/include/net/designware.h @@ -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); };