diff options
author | Tom Rini | 2023-12-14 13:16:47 -0500 |
---|---|---|
committer | Tom Rini | 2023-12-21 08:54:37 -0500 |
commit | cb3ce954013ce383e64b73b65df1eb4ef8833570 (patch) | |
tree | 5e33dd6fc11882f093071e5694a22b5d642beaed /net | |
parent | 460b2c068c07d665af48566cfe39582086fed921 (diff) |
global: Drop common.h inclusion
In order to make it easier to move on to dropping common.h from code
directly, remove common.h inclusion from the rest of the header file
which had been including it.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/arp.h | 2 | ||||
-rw-r--r-- | net/link_local.h | 5 | ||||
-rw-r--r-- | net/net_rand.h | 1 | ||||
-rw-r--r-- | net/ping.h | 1 |
4 files changed, 1 insertions, 8 deletions
diff --git a/net/arp.h b/net/arp.h index 25b3c00d5c5..c50885fb9a5 100644 --- a/net/arp.h +++ b/net/arp.h @@ -12,8 +12,6 @@ #ifndef __ARP_H__ #define __ARP_H__ -#include <common.h> - extern struct in_addr net_arp_wait_packet_ip; /* MAC address of waiting packet's destination */ extern uchar *arp_wait_packet_ethaddr; diff --git a/net/link_local.h b/net/link_local.h index bb998164df9..d8701255142 100644 --- a/net/link_local.h +++ b/net/link_local.h @@ -10,15 +10,12 @@ * Licensed under the GPL v2 or later */ -#if defined(CONFIG_CMD_LINK_LOCAL) - #ifndef __LINK_LOCAL_H__ #define __LINK_LOCAL_H__ -#include <common.h> +struct arp_hdr; void link_local_receive_arp(struct arp_hdr *arp, int len); void link_local_start(void); #endif /* __LINK_LOCAL_H__ */ -#endif diff --git a/net/net_rand.h b/net/net_rand.h index 6a52cda85e0..d3c5559adfd 100644 --- a/net/net_rand.h +++ b/net/net_rand.h @@ -9,7 +9,6 @@ #ifndef __NET_RAND_H__ #define __NET_RAND_H__ -#include <common.h> #include <dm/uclass.h> #include <rng.h> diff --git a/net/ping.h b/net/ping.h index 7b6f4e566db..76ac225fc07 100644 --- a/net/ping.h +++ b/net/ping.h @@ -12,7 +12,6 @@ #ifndef __PING_H__ #define __PING_H__ -#include <common.h> #include <net.h> /* |