diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2013-01-16 18:09:11 -0600 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2013-06-24 19:11:12 -0500 |
commit | 3d49412d5626eebdfca78dcaec7d817b45d6f03e (patch) | |
tree | f28071b91aec57917cf28e30538da0db6e1f458f /include/net.h | |
parent | 1b8c18b9716c6991237b24cff3d38075d930c0d7 (diff) | |
download | u-boot-imx-3d49412d5626eebdfca78dcaec7d817b45d6f03e.zip u-boot-imx-3d49412d5626eebdfca78dcaec7d817b45d6f03e.tar.gz u-boot-imx-3d49412d5626eebdfca78dcaec7d817b45d6f03e.tar.bz2 |
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>
Diffstat (limited to 'include/net.h')
-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 23fb947..7673470 100644 --- a/include/net.h +++ b/include/net.h @@ -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; /** |