summaryrefslogtreecommitdiff
path: root/src/drivers
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/drivers
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/drivers')
-rw-r--r--src/drivers/intel/i210/i210.c1
-rw-r--r--src/drivers/net/r8168.c1
-rw-r--r--src/drivers/siemens/nc_fpga/nc_fpga.c1
-rw-r--r--src/drivers/siemens/nc_fpga/nc_fpga_early.c1
-rw-r--r--src/drivers/uart/oxpcie.c1
-rw-r--r--src/drivers/uart/oxpcie_early.c1
-rw-r--r--src/drivers/usb/pci_ehci.c1
-rw-r--r--src/drivers/wifi/generic/generic.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/src/drivers/intel/i210/i210.c b/src/drivers/intel/i210/i210.c
index 018a67dd02..45219c6880 100644
--- a/src/drivers/intel/i210/i210.c
+++ b/src/drivers/intel/i210/i210.c
@@ -6,7 +6,6 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
-#include <device/pci_def.h>
#include <string.h>
#include <types.h>
#include <delay.h>
diff --git a/src/drivers/net/r8168.c b/src/drivers/net/r8168.c
index 5d19d69519..8f070bd349 100644
--- a/src/drivers/net/r8168.c
+++ b/src/drivers/net/r8168.c
@@ -16,7 +16,6 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
-#include <device/pci_def.h>
#include <device/pci_ids.h>
#include <delay.h>
#include <fmap.h>
diff --git a/src/drivers/siemens/nc_fpga/nc_fpga.c b/src/drivers/siemens/nc_fpga/nc_fpga.c
index fe6eb155c6..dd30d5167e 100644
--- a/src/drivers/siemens/nc_fpga/nc_fpga.c
+++ b/src/drivers/siemens/nc_fpga/nc_fpga.c
@@ -4,7 +4,6 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
-#include <device/pci_def.h>
#include <device/mmio.h>
#include <hwilib.h>
#include <bootstate.h>
diff --git a/src/drivers/siemens/nc_fpga/nc_fpga_early.c b/src/drivers/siemens/nc_fpga/nc_fpga_early.c
index 8cdc1f9106..284ec8ab89 100644
--- a/src/drivers/siemens/nc_fpga/nc_fpga_early.c
+++ b/src/drivers/siemens/nc_fpga/nc_fpga_early.c
@@ -2,7 +2,6 @@
#include <device/mmio.h>
#include <device/pci.h>
-#include <device/pci_def.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <types.h>
diff --git a/src/drivers/uart/oxpcie.c b/src/drivers/uart/oxpcie.c
index 59e8ff2840..ae2a3a608c 100644
--- a/src/drivers/uart/oxpcie.c
+++ b/src/drivers/uart/oxpcie.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
-#include <device/pci_def.h>
#include <device/pci.h>
#include <console/console.h>
#include <console/uart.h>
diff --git a/src/drivers/uart/oxpcie_early.c b/src/drivers/uart/oxpcie_early.c
index ff7d0cfd8a..2cbc8c7948 100644
--- a/src/drivers/uart/oxpcie_early.c
+++ b/src/drivers/uart/oxpcie_early.c
@@ -5,7 +5,6 @@
#include <device/pci_ops.h>
#include <console/uart.h>
#include <device/pci.h>
-#include <device/pci_def.h>
static unsigned int oxpcie_present;
static DEVTREE_CONST u32 uart0_base = CONFIG_EARLY_PCI_MMIO_BASE + 0x1000;
diff --git a/src/drivers/usb/pci_ehci.c b/src/drivers/usb/pci_ehci.c
index 8e854264a2..8b68bc24d8 100644
--- a/src/drivers/usb/pci_ehci.c
+++ b/src/drivers/usb/pci_ehci.c
@@ -5,7 +5,6 @@
#include <device/mmio.h>
#include <device/pci_ops.h>
#include <device/pci.h>
-#include <device/pci_def.h>
#include <string.h>
#include "ehci_debug.h"
diff --git a/src/drivers/wifi/generic/generic.c b/src/drivers/wifi/generic/generic.c
index 2368f51e71..adcb68d0ff 100644
--- a/src/drivers/wifi/generic/generic.c
+++ b/src/drivers/wifi/generic/generic.c
@@ -2,7 +2,6 @@
#include <device/device.h>
#include <device/pci.h>
-#include <device/pci_def.h>
#include <device/pci_ids.h>
#include <elog.h>
#include "chip.h"