From 295a1e8059fc44e2cc9b7ff6dd918c167888b4c8 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 18 Sep 2016 19:07:40 +0200 Subject: [PATCH] UPSTREAM: southbridge/via: Add space around operators BUG=None BRANCH=None TEST=None Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16635 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Change-Id: Ib48c98bb161b92b28497df26fcfd0eae2c6829df Reviewed-on: https://chromium-review.googlesource.com/388119 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- src/southbridge/via/k8t890/pcie.c | 2 +- src/southbridge/via/vt8237r/pirq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/southbridge/via/k8t890/pcie.c b/src/southbridge/via/k8t890/pcie.c index 25254c3405..cc39f57970 100644 --- a/src/southbridge/via/k8t890/pcie.c +++ b/src/southbridge/via/k8t890/pcie.c @@ -60,7 +60,7 @@ static void pcie_common_init(struct device *dev) /* Wait up to 100ms for link to come up */ up = 0; - for (i=0; i<1000; i++) { + for (i = 0; i < 1000; i++) { if (pci_read_config16(dev, 0x52) & (1<<13)) { up = 1; break; diff --git a/src/southbridge/via/vt8237r/pirq.c b/src/southbridge/via/vt8237r/pirq.c index 4687e822bf..ec393b49f0 100644 --- a/src/southbridge/via/vt8237r/pirq.c +++ b/src/southbridge/via/vt8237r/pirq.c @@ -21,7 +21,7 @@ #include #include -#if (CONFIG_PIRQ_ROUTE==1 && CONFIG_GENERATE_PIRQ_TABLE==1) +#if (CONFIG_PIRQ_ROUTE == 1 && CONFIG_GENERATE_PIRQ_TABLE == 1) void pirq_assign_irqs(const unsigned char route[4]) { device_t pdev;