summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-31 07:39:43 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-02-01 03:03:34 +0000
commit7cba1c486beb9287dc563784904d2a8e0235340a (patch)
tree89b09e2fefe971a877a9a01e83fc4959c4acdab5 /src/device
parentddcb7f1cc410577726f1c34842cf3065ac985ec0 (diff)
treewide: Remove duplicated include <device/pci.h>
<device/pci.h> chain-includes <device/pci_def.h> & <device/pci_type.h>. Change-Id: I4e5999443e81ee1c4b1fd69942050b47f21f42f8 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72626 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/pci_early.c2
-rw-r--r--src/device/pci_ops.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/device/pci_early.c b/src/device/pci_early.c
index 590b170142..86278f9222 100644
--- a/src/device/pci_early.c
+++ b/src/device/pci_early.c
@@ -1,9 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/pci.h>
-#include <device/pci_def.h>
#include <device/pci_ops.h>
-#include <device/pci_type.h>
#include <delay.h>
void pci_s_assert_secondary_reset(pci_devfn_t p2p_bridge)
diff --git a/src/device/pci_ops.c b/src/device/pci_ops.c
index a4ef4053a3..31b73458b4 100644
--- a/src/device/pci_ops.c
+++ b/src/device/pci_ops.c
@@ -3,9 +3,7 @@
#include <stdint.h>
#include <console/console.h>
#include <device/pci.h>
-#include <device/pci_def.h>
#include <device/pci_ops.h>
-#include <device/pci_type.h>
u8 *const pci_mmconf = (void *)(uintptr_t)CONFIG_ECAM_MMCONF_BASE_ADDRESS;