diff options
author | Martin Roth <martinroth@google.com> | 2017-06-24 21:30:42 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-07-13 23:54:56 +0000 |
commit | 1858d6a90a81aac67cde90190d8a332b2e817c9d (patch) | |
tree | e9d62ce12354e419a8c055da12d092642fac4d88 /src/southbridge/via/vt8237r/ide.c | |
parent | 32c27c2f850c64cdbf78acd00f0c2ce4b535af64 (diff) |
src/southbridge: add IS_ENABLED() around Kconfig symbol references
Change-Id: Ie965cbcf7f7b6f6c9e9a69e2a1ff0ba491246cbe
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20353
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/southbridge/via/vt8237r/ide.c')
-rw-r--r-- | src/southbridge/via/vt8237r/ide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/via/vt8237r/ide.c b/src/southbridge/via/vt8237r/ide.c index 8550d46a09..457917174d 100644 --- a/src/southbridge/via/vt8237r/ide.c +++ b/src/southbridge/via/vt8237r/ide.c @@ -101,7 +101,7 @@ static void ide_init(struct device *dev) cablesel |= vt8237_ide_80pin_detect(dev); pci_write_config32(dev, IDE_UDMA, cablesel); -#if CONFIG_EPIA_VT8237R_INIT +#if IS_ENABLED(CONFIG_EPIA_VT8237R_INIT) device_t lpc_dev; /* Set PATA Output Drive Strength */ |