summaryrefslogtreecommitdiff
path: root/src/device/oprom/yabel/device.h
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2015-10-21 13:04:34 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-10-25 07:29:38 +0100
commit21f8193843234ab0f2c256719ab3681201f3d3dd (patch)
treeb9990d4961f48b54c596e9de60e74d5e419edbb0 /src/device/oprom/yabel/device.h
parent4919047d317608b88c3bbeea078279e13f258b64 (diff)
yabel: Use IS_ENABLED where appropriate
Change-Id: Ib078b21ddf0493ad6795c6ab79125b3917ff7049 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/12115 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/device/oprom/yabel/device.h')
-rw-r--r--src/device/oprom/yabel/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/oprom/yabel/device.h b/src/device/oprom/yabel/device.h
index 5259125f74..a8dfc8c4a1 100644
--- a/src/device/oprom/yabel/device.h
+++ b/src/device/oprom/yabel/device.h
@@ -62,7 +62,7 @@ typedef struct {
typedef struct {
u8 bus;
u8 devfn;
-#if CONFIG_PCI_OPTION_ROM_RUN_YABEL
+#if IS_ENABLED(CONFIG_PCI_OPTION_ROM_RUN_YABEL)
struct device* dev;
#else
u64 puid;