From 21f8193843234ab0f2c256719ab3681201f3d3dd Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 21 Oct 2015 13:04:34 -0700 Subject: yabel: Use IS_ENABLED where appropriate Change-Id: Ib078b21ddf0493ad6795c6ab79125b3917ff7049 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/12115 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- src/device/oprom/yabel/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device/oprom/yabel/device.h') 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; -- cgit v1.2.3