include: Drop <common.h> from include lists

At this point, we don't need to have <common.h> be included because of
properties in the header itself, it only includes other common header
files. We've also audited the code enough at this point that we can drop
<common.h> from being included in headers and rely on code to have the
correct inclusions themselves, or at least <common.h>.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2023-11-01 12:28:20 -04:00
parent c675222d04
commit 7f38e9c9a4
28 changed files with 0 additions and 28 deletions

View File

@ -6,7 +6,6 @@
#ifndef _BOOTCOUNT_H__
#define _BOOTCOUNT_H__
#include <common.h>
#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/byteorder.h>

View File

@ -10,7 +10,6 @@
#ifndef __DFU_ENTITY_H_
#define __DFU_ENTITY_H_
#include <common.h>
#include <linux/list.h>
#include <mmc.h>
#include <spi_flash.h>

View File

@ -8,7 +8,6 @@
#ifndef _EFI_LOADER_H
#define _EFI_LOADER_H 1
#include <common.h>
#include <blk.h>
#include <event.h>
#include <log.h>

View File

@ -8,7 +8,6 @@
#ifndef _EFI_SELFTEST_H
#define _EFI_SELFTEST_H
#include <common.h>
#include <efi.h>
#include <efi_api.h>
#include <efi_loader.h>

View File

@ -7,7 +7,6 @@
#ifndef __FM_ETH_H__
#define __FM_ETH_H__
#include <common.h>
#include <phy.h>
#include <asm/types.h>

View File

@ -5,7 +5,6 @@
#ifndef _FS_H
#define _FS_H
#include <common.h>
#include <rtc.h>
struct cmd_tbl;

View File

@ -7,7 +7,6 @@
#ifndef __FSL_MC_H__
#define __FSL_MC_H__
#include <common.h>
#include <linux/bitops.h>
struct bd_info;

View File

@ -6,7 +6,6 @@
#ifndef _FSL_ERRATA_H
#define _FSL_ERRATA_H
#include <common.h>
#if defined(CONFIG_PPC)
#include <asm/processor.h>
#elif defined(CONFIG_ARCH_LS1021A)

View File

@ -9,7 +9,6 @@
#ifdef CONFIG_FSL_IFC
#include <config.h>
#include <common.h>
#include <part.h>
#ifdef CONFIG_ARM
#include <asm/arch/soc.h>

View File

@ -9,7 +9,6 @@
#ifndef __FSL_SEC_H
#define __FSL_SEC_H
#include <common.h>
#include <asm/io.h>
#ifdef CONFIG_SYS_FSL_SEC_LE

View File

@ -8,7 +8,6 @@
#ifndef __FSL_SEC_MON_H
#define __FSL_SEC_MON_H
#include <common.h>
#include <asm/io.h>
#ifdef CONFIG_SYS_FSL_SEC_MON_LE

View File

@ -6,7 +6,6 @@
#ifndef _FSL_SFP_SNVS_
#define _FSL_SFP_SNVS_
#include <common.h>
#include <config.h>
#include <asm/io.h>

View File

@ -6,7 +6,6 @@
#ifndef __IOTRACE_H
#define __IOTRACE_H
//#include <common.h>
#include <linux/types.h>
/* Support up to the machine word length for now */

View File

@ -8,7 +8,6 @@
#ifndef _KEY_MATRIX_H
#define _KEY_MATRIX_H
#include <common.h>
/* Information about a matrix keyboard */
struct key_matrix {

View File

@ -10,7 +10,6 @@
#ifndef __LIBATA_H__
#define __LIBATA_H__
#include <common.h>
enum {
/* various global constants */

View File

@ -17,7 +17,6 @@
#include <linux/spi/spi.h>
#include <linux/spi/spi-mem.h>
#else
#include <common.h>
#include <spi.h>
#include <spi-mem.h>
#include <linux/mtd/nand.h>

View File

@ -21,7 +21,6 @@
* the composite model the host can use both functions at the same time.
*/
#include <common.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/bitmap.h>

View File

@ -14,7 +14,6 @@
#ifndef _miiphy_h_
#define _miiphy_h_
#include <common.h>
#include <linux/mii.h>
#include <linux/list.h>
#include <net.h>

View File

@ -7,7 +7,6 @@
#ifndef __MV886352_H
#define __MV886352_H
#include <common.h>
/* PHY registers */
#define PHY(itf) (itf)

View File

@ -5,7 +5,6 @@
* Copyright (C) 2019, IBM Corporation.
*/
#include <common.h>
#include <phy.h>
bool ncsi_active(void);

View File

@ -6,7 +6,6 @@
#ifndef PALMAS_H
#define PALMAS_H
#include <common.h>
#include <i2c.h>
/* I2C chip addresses, TW6035/37 */

View File

@ -11,7 +11,6 @@
#define _POST_H
#ifndef __ASSEMBLY__
#include <common.h>
#include <asm/io.h>
#if defined(CONFIG_POST)

View File

@ -9,7 +9,6 @@
#ifndef _SPI_H_
#define _SPI_H_
#include <common.h>
#include <linux/bitops.h>
/* SPI mode flags */

View File

@ -7,7 +7,6 @@
#ifndef __include_tegra_kbc_h__
#define __include_tegra_kbc_h__
#include <common.h>
#define KEY_IS_MODIFIER(key) ((key) >= KEY_FIRST_MODIFIER)

View File

@ -11,7 +11,6 @@
#ifndef TWL4030_H
#define TWL4030_H
#include <common.h>
#include <i2c.h>
/* I2C chip addresses */

View File

@ -7,7 +7,6 @@
#ifndef TWL6030_H
#define TWL6030_H
#include <common.h>
#include <i2c.h>
/* I2C chip addresses */

View File

@ -14,7 +14,6 @@
#ifndef __UBOOT_UBI_H
#define __UBOOT_UBI_H
#include <common.h>
#include <compiler.h>
#include <linux/compat.h>
#include <malloc.h>

View File

@ -17,7 +17,6 @@
#ifndef __USBDCORE_H__
#define __USBDCORE_H__
#include <common.h>
#include "usbdescriptors.h"