From 440003d5d53ccb747f886f215b292b8362ef5bc1 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Thu, 17 Oct 2024 13:35:55 +0200 Subject: include/device: Add missing include Fix the following error when including device/pciexp.h src/include/device/pciexp.h: In function 'pciexp_is_downstream_port': src/include/device/pciexp.h:42:24: error: 'PCI_EXP_TYPE_ROOT_PORT' undeclared (first use in this function) 42 | return type == PCI_EXP_TYPE_ROOT_PORT || by including pci_def.h. Change-Id: Idfd36301a5e766bbe97c93afef88c97507a4c4dc Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/84791 Reviewed-by: Lean Sheng Tan Reviewed-by: Shuo Liu Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/include/device/pciexp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/device') diff --git a/src/include/device/pciexp.h b/src/include/device/pciexp.h index 9f9c28ecb5..05d3873238 100644 --- a/src/include/device/pciexp.h +++ b/src/include/device/pciexp.h @@ -3,6 +3,7 @@ #ifndef DEVICE_PCIEXP_H #define DEVICE_PCIEXP_H /* (c) 2005 Linux Networx GPL see COPYING for details */ +#include enum aspm_type { PCIE_ASPM_NONE = 0, -- cgit v1.2.3