diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-09-27 11:59:21 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-09-28 21:15:47 +0000 |
commit | 13ad74070165d2d48f8546f9dd9da7e354e5ee4a (patch) | |
tree | c0024dfe772cc8bdb79bd5753baa00e3f08ad118 /src | |
parent | d7205bebd53761e17e22701ca0573ffa5629d38e (diff) | |
download | coreboot-13ad74070165d2d48f8546f9dd9da7e354e5ee4a.tar.xz |
device/pci: Replace some __SIMPLE_DEVICE__ use
Change-Id: Ide9df46b5ff47fea54b9de0e365638a6223c8267
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35642
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/device/pci_ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/pci_ops.h b/src/include/device/pci_ops.h index 5cc803c737..5371e07419 100644 --- a/src/include/device/pci_ops.h +++ b/src/include/device/pci_ops.h @@ -178,7 +178,7 @@ void pci_update_config32(const struct device *dev, u16 reg, u32 mask, u32 or) u16 pci_s_find_next_capability(pci_devfn_t dev, u16 cap, u16 last); u16 pci_s_find_capability(pci_devfn_t dev, u16 cap); -#ifndef __SIMPLE_DEVICE__ +#ifndef __ROMCC__ static __always_inline u16 pci_find_next_capability(const struct device *dev, u16 cap, u16 last) { |