mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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>
This commit is contained in:
parent
f1075aedd2
commit
16ae782722
1 changed files with 1 additions and 1 deletions
|
|
@ -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 *);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue