summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/via/k8t890/pcie.c2
-rw-r--r--src/southbridge/via/vt8237r/pirq.c2
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 <device/pci_ids.h>
#include <pc80/i8259.h>
-#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;