diff options
| author | Tom Rini <[email protected]> | 2025-05-15 17:31:50 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-29 08:30:25 -0600 |
| commit | ae9ff5ae6f579f321a1b695c82453b67ec1bf6db (patch) | |
| tree | c946d2d89d2d99a21d6aacf7370ed26688cbfbde /board/keymile | |
| parent | 183d88cdfc19ea7bd56af69512f0d1425de73e77 (diff) | |
global: Avoid indirect inclusion of <env.h> from <net.h>
Now that env_get_ip() has been removed, the include file <net.h> does
not need anything from <env.h>. Furthermore, include/env.h itself
includes other headers which can lead to longer indirect inclusion
paths. To prepare to remove <env.h> from <net.h> fix all of the
remaining places which had relied on this indirect inclusion to instead
include <env.h> directly.
Reviewed-by: Jerome Forissier <[email protected]> # net/lwip
Acked-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Wolfgang Wallner <[email protected]>
Reviewed-by: Martyn Welch <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'board/keymile')
| -rw-r--r-- | board/keymile/kmcent2/kmcent2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/keymile/kmcent2/kmcent2.c b/board/keymile/kmcent2/kmcent2.c index 783853d5c6f..0f43ebfec4d 100644 --- a/board/keymile/kmcent2/kmcent2.c +++ b/board/keymile/kmcent2/kmcent2.c @@ -6,6 +6,7 @@ * Copyright 2013 Freescale Semiconductor, Inc. */ +#include <env.h> #include <event.h> #include <asm/cache.h> #include <asm/fsl_fdt.h> |
