aboutsummaryrefslogtreecommitdiff
path: root/include/netdev.h
diff options
context:
space:
mode:
authorMichal Simek2015-01-14 15:44:21 +0100
committerMichal Simek2015-01-21 10:30:21 +0100
commit5840537879d93814f681d45ccf26d8b171f80acf (patch)
treeec79e211d6c2ce7be9a4fc7287b5f96f4fd7c617 /include/netdev.h
parent768f6096f9c389b5ed36bee2957bee16b085fc4a (diff)
net: gem: Use phys_addr_t instead of int for addresses
Use phys_addr_t for physical address declaration. It is also unsigned type instead of sign. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/netdev.h')
-rw-r--r--include/netdev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/netdev.h b/include/netdev.h
index 34651ab3779..daffc1222d6 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -93,7 +93,8 @@ int xilinx_emaclite_initialize(bd_t *bis, unsigned long base_addr,
int xilinx_ll_temac_eth_init(bd_t *bis, unsigned long base_addr, int flags,
unsigned long ctrl_addr);
int zynq_gem_of_init(const void *blob);
-int zynq_gem_initialize(bd_t *bis, int base_addr, int phy_addr, u32 emio);
+int zynq_gem_initialize(bd_t *bis, phys_addr_t base_addr,
+ int phy_addr, u32 emio);
/*
* As long as the Xilinx xps_ll_temac ethernet driver has not its own interface
* exported by a public hader file, we need a global definition at this point.