mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 12:44:23 +08:00
net: make IPaddr type big endian
for use with sparse. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
This commit is contained in:
parent
1b8c18b971
commit
3d49412d56
@ -39,7 +39,7 @@
|
||||
#define PKTALIGN ARCH_DMA_MINALIGN
|
||||
|
||||
/* IPv4 addresses are always 32 bits in size */
|
||||
typedef u32 IPaddr_t;
|
||||
typedef __be32 IPaddr_t;
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user