mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +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:

committed by
Joe Hershberger

parent
1b8c18b971
commit
3d49412d56
@ -39,7 +39,7 @@
|
|||||||
#define PKTALIGN ARCH_DMA_MINALIGN
|
#define PKTALIGN ARCH_DMA_MINALIGN
|
||||||
|
|
||||||
/* IPv4 addresses are always 32 bits in size */
|
/* IPv4 addresses are always 32 bits in size */
|
||||||
typedef u32 IPaddr_t;
|
typedef __be32 IPaddr_t;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user