diff options
author | Tom Rini <trini@konsulko.com> | 2023-12-14 13:16:47 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-21 08:54:37 -0500 |
commit | cb3ce954013ce383e64b73b65df1eb4ef8833570 (patch) | |
tree | 5e33dd6fc11882f093071e5694a22b5d642beaed /drivers/net | |
parent | 460b2c068c07d665af48566cfe39582086fed921 (diff) | |
download | u-boot-cb3ce954013ce383e64b73b65df1eb4ef8833570.zip u-boot-cb3ce954013ce383e64b73b65df1eb4ef8833570.tar.gz u-boot-cb3ce954013ce383e64b73b65df1eb4ef8833570.tar.bz2 |
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 'drivers/net')
-rw-r--r-- | drivers/net/fm/fm.h | 1 | ||||
-rw-r--r-- | drivers/net/fsl-mc/dpio/qbman_private.h | 1 | ||||
-rw-r--r-- | drivers/net/fsl-mc/dpio/qbman_sys.h | 1 | ||||
-rw-r--r-- | drivers/net/mscc_eswitch/mscc_mac_table.c | 1 | ||||
-rw-r--r-- | drivers/net/mscc_eswitch/mscc_mac_table.h | 2 | ||||
-rw-r--r-- | drivers/net/mscc_eswitch/mscc_xfer.c | 1 | ||||
-rw-r--r-- | drivers/net/mscc_eswitch/mscc_xfer.h | 2 |
7 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/fm/fm.h b/drivers/net/fm/fm.h index a2d5b03..5c45ad5 100644 --- a/drivers/net/fm/fm.h +++ b/drivers/net/fm/fm.h @@ -6,7 +6,6 @@ #ifndef __FM_H__ #define __FM_H__ -#include <common.h> #include <phy.h> #include <fm_eth.h> #include <fsl_fman.h> diff --git a/drivers/net/fsl-mc/dpio/qbman_private.h b/drivers/net/fsl-mc/dpio/qbman_private.h index 53f1300..f9dad17 100644 --- a/drivers/net/fsl-mc/dpio/qbman_private.h +++ b/drivers/net/fsl-mc/dpio/qbman_private.h @@ -4,7 +4,6 @@ */ /* Perform extra checking */ -#include <common.h> #include <errno.h> #include <asm/io.h> #include <linux/bug.h> diff --git a/drivers/net/fsl-mc/dpio/qbman_sys.h b/drivers/net/fsl-mc/dpio/qbman_sys.h index 1c6e489..cac70a1 100644 --- a/drivers/net/fsl-mc/dpio/qbman_sys.h +++ b/drivers/net/fsl-mc/dpio/qbman_sys.h @@ -20,6 +20,7 @@ /* Trace the 3 different classes of read/write access to QBMan. #undef as * required. */ +#include <config.h> #include <linux/bug.h> #include <linux/printk.h> #undef QBMAN_CCSR_TRACE diff --git a/drivers/net/mscc_eswitch/mscc_mac_table.c b/drivers/net/mscc_eswitch/mscc_mac_table.c index 25b9cad..06e1f62 100644 --- a/drivers/net/mscc_eswitch/mscc_mac_table.c +++ b/drivers/net/mscc_eswitch/mscc_mac_table.c @@ -3,6 +3,7 @@ * Copyright (c) 2018 Microsemi Corporation */ +#include <errno.h> #include <linux/bitops.h> #include <linux/io.h> #include "mscc_mac_table.h" diff --git a/drivers/net/mscc_eswitch/mscc_mac_table.h b/drivers/net/mscc_eswitch/mscc_mac_table.h index 17fed2e..5ec8db2 100644 --- a/drivers/net/mscc_eswitch/mscc_mac_table.h +++ b/drivers/net/mscc_eswitch/mscc_mac_table.h @@ -3,8 +3,6 @@ * Copyright (c) 2018 Microsemi Corporation */ -#include <common.h> - #define ETH_LEN 6 #define MAC_VID 1 diff --git a/drivers/net/mscc_eswitch/mscc_xfer.c b/drivers/net/mscc_eswitch/mscc_xfer.c index 6f74746..ee6bf06 100644 --- a/drivers/net/mscc_eswitch/mscc_xfer.c +++ b/drivers/net/mscc_eswitch/mscc_xfer.c @@ -3,6 +3,7 @@ * Copyright (c) 2018 Microsemi Corporation */ +#include <errno.h> #include <log.h> #include <linux/bitops.h> #include <linux/delay.h> diff --git a/drivers/net/mscc_eswitch/mscc_xfer.h b/drivers/net/mscc_eswitch/mscc_xfer.h index c880a4e..70f2794 100644 --- a/drivers/net/mscc_eswitch/mscc_xfer.h +++ b/drivers/net/mscc_eswitch/mscc_xfer.h @@ -3,8 +3,6 @@ * Copyright (c) 2018 Microsemi Corporation */ -#include <common.h> - enum mscc_regs_qs { MSCC_QS_XTR_RD, MSCC_QS_XTR_FLUSH, |