summaryrefslogtreecommitdiff
path: root/src/southbridge/sis/sis966
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-03 17:21:02 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 03:04:33 +0000
commitf9de5a4b43f26fc892c1397a900e4c64a6715736 (patch)
treee3e5ea38f38edcf71b5a887b20f02e902f6cfe4e /src/southbridge/sis/sis966
parentc4c2d4ec7ad10d8928929e7042c4e7a1b97e98b8 (diff)
src/southbridge: Add required space before the open parenthesis
Change-Id: If46db4d210e4b25221436ad1222433d3b00e08e7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26035 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/sis/sis966')
-rw-r--r--src/southbridge/sis/sis966/lpc.c2
-rw-r--r--src/southbridge/sis/sis966/sis966.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/sis/sis966/lpc.c b/src/southbridge/sis/sis966/lpc.c
index 40dc70537b..82b850b361 100644
--- a/src/southbridge/sis/sis966/lpc.c
+++ b/src/southbridge/sis/sis966/lpc.c
@@ -203,7 +203,7 @@ static void sis966_lpc_enable_childrens_resources(device_t dev)
base = res->base;
end = resource_end(res);
printk(BIOS_DEBUG, "sis966 lpc decode:%s, base=0x%08lx, end=0x%08lx\n",dev_path(child),base, end);
- switch(base) {
+ switch (base) {
case 0x3f8: // COM1
reg |= (1<<0); break;
case 0x2f8: // COM2
diff --git a/src/southbridge/sis/sis966/sis966.c b/src/southbridge/sis/sis966/sis966.c
index d84b3739d3..cba4898925 100644
--- a/src/southbridge/sis/sis966/sis966.c
+++ b/src/southbridge/sis/sis966/sis966.c
@@ -80,7 +80,7 @@ void sis966_enable(device_t dev)
}
devfn = (dev->path.pci.devfn) & ~7;
- switch(deviceid) {
+ switch (deviceid) {
case PCI_DEVICE_ID_SIS_SIS966_USB:
devfn -= (1<<3);
index = 8;