diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-01-14 15:00:39 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-14 16:37:39 (GMT) |
commit | 16ae7827226ce8b255245d1932e8069f00997a26 (patch) | |
tree | 9b57eaf129e341b52ed02c9de834fb1de92af39b | |
parent | f1075aedd212e22ef17a05ba74b14ab2473a5b88 (diff) | |
download | u-boot-16ae7827226ce8b255245d1932e8069f00997a26.tar.xz |
net: Declare physical address as phys_addr_t unsigned type
Use phys_addr_t instead of int for addresses.
Addresses can't be < 0.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | include/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h index 18d279e..3da35fe 100644 --- a/include/net.h +++ b/include/net.h @@ -81,7 +81,7 @@ enum eth_state_t { struct eth_device { char name[16]; unsigned char enetaddr[6]; - int iobase; + phys_addr_t iobase; int state; int (*init) (struct eth_device *, bd_t *); |