diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2024-10-17 13:35:55 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-10-23 03:04:28 +0000 |
commit | 440003d5d53ccb747f886f215b292b8362ef5bc1 (patch) | |
tree | e4886e1f9e38c2deca9c54e6264b9c1b057ee369 /src | |
parent | 8db613811582d9c2866838b155219f8534256444 (diff) |
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 <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84791
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/device/pciexp.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <device/pci_def.h> enum aspm_type { PCIE_ASPM_NONE = 0, |