aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx900
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-06-24 15:00:56 -0600
committerMartin Roth <martinroth@google.com>2017-07-07 21:32:27 +0000
commit3c35ad90534d4aebd6d9723e4614efb6af01f45c (patch)
treef1f329d247e541fe36bc30541959b73be04ed891 /src/northbridge/via/vx900
parent894977b2cda924d7db9e2819c8941e2d4cf6a9a4 (diff)
src/northbridge: add IS_ENABLED() around Kconfig symbol references
Change-Id: I1095944e65bfacd9e878840cc88f8a0a24ecde72 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20347 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/northbridge/via/vx900')
-rw-r--r--src/northbridge/via/vx900/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/via/vx900/lpc.c b/src/northbridge/via/vx900/lpc.c
index a9d24df91f..b36aaed1b0 100644
--- a/src/northbridge/via/vx900/lpc.c
+++ b/src/northbridge/via/vx900/lpc.c
@@ -198,7 +198,7 @@ static const struct pci_driver lpc_driver __pci_driver = {
.device = PCI_DEVICE_ID_VIA_VX900_LPC,
};
-#if CONFIG_PIRQ_ROUTE
+#if IS_ENABLED(CONFIG_PIRQ_ROUTE)
void pirq_assign_irqs(const u8 * pirq)
{
device_t lpc;