diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-03-11 20:34:05 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-03-14 19:27:18 +0000 |
commit | 24837e75cb30cc6d8fbd86e5371f850699534975 (patch) | |
tree | 1889e8a097ab06d06de4d3b48e7e35d52348cb5f /src/include | |
parent | 095bdecab3ea0e238071ce01b3ce0fcf4ccb2d9c (diff) |
device/pciexp_device.c: Remove CPP guarding
Let the linker do its job.
This fixes building with !CONFIG_PCIEXP_HOTPLUG on some platforms.
Change-Id: I46560722dcb5f1d902709e40b714ef092515b164
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51417
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/pciexp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/device/pciexp.h b/src/include/device/pciexp.h index 44914063f6..014fcb18b1 100644 --- a/src/include/device/pciexp.h +++ b/src/include/device/pciexp.h @@ -26,11 +26,9 @@ void pciexp_scan_bridge(struct device *dev); extern struct device_operations default_pciexp_ops_bus; -#if CONFIG(PCIEXP_HOTPLUG) void pciexp_hotplug_scan_bridge(struct device *dev); extern struct device_operations default_pciexp_hotplug_ops_bus; -#endif /* CONFIG(PCIEXP_HOTPLUG) */ unsigned int pciexp_find_extended_cap(struct device *dev, unsigned int cap); #endif /* DEVICE_PCIEXP_H */ |