projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1075ae
)
net: Declare physical address as phys_addr_t unsigned type
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 14 Jan 2015 15:00:39 +0000
(16:00 +0100)
committer
Tom Rini
<trini@ti.com>
Wed, 14 Jan 2015 16:37:39 +0000
(11:37 -0500)
Use phys_addr_t instead of int for addresses.
Addresses can't be < 0.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/net.h
patch
|
blob
|
history
diff --git
a/include/net.h
b/include/net.h
index 18d279ebe737da5ac87cf891d509b44efb1ece94..3da35fe981880500b9025ca813164c27a2aa8bdb 100644
(file)
--- 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];
-
in
t iobase;
+
phys_addr_
t iobase;
int state;
int (*init) (struct eth_device *, bd_t *);