From 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 30 Oct 2020 21:38:53 -0600 Subject: common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include at all, so remove that include. Signed-off-by: Simon Glass Signed-off-by: Tom Rini --- net/eth-uclass.c | 1 + net/eth_legacy.c | 1 + net/tftp.c | 1 + 3 files changed, 3 insertions(+) (limited to 'net') diff --git a/net/eth-uclass.c b/net/eth-uclass.c index 35842f5..34ca731 100644 --- a/net/eth-uclass.c +++ b/net/eth-uclass.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/net/eth_legacy.c b/net/eth_legacy.c index 6870afb..96ed5a4 100644 --- a/net/eth_legacy.c +++ b/net/eth_legacy.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/net/tftp.c b/net/tftp.c index 03079de..d8cb121 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include "bootp.h" #ifdef CONFIG_SYS_DIRECT_FLASH_TFTP -- cgit v1.1