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>
This commit is contained in:
parent
8db6138115
commit
440003d5d5
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue