summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-13 10:03:31 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-19 08:17:06 +0000
commit0ce41f1a116a816e774ebbd1130d27d7ee70e7e9 (patch)
tree983a793e01bbf09ed1e9c74534d4b78f9d3f2866 /src/mainboard/google
parent16f9bf83e00c786275d3fcc9d512d145ef6c93c9 (diff)
src: Add required space after "switch"
Change-Id: I85cf93e30606bc7838852bd300a369e79370629a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29623 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/link/i915.c4
-rw-r--r--src/mainboard/google/link/mainboard.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c
index 8bd758b958..e09785d825 100644
--- a/src/mainboard/google/link/i915.c
+++ b/src/mainboard/google/link/i915.c
@@ -161,7 +161,7 @@ static int run(int index)
return index;
/* state machine! */
for(i = index, id = &iodefs[i]; id->op; i++, id++){
- switch(id->op){
+ switch (id->op) {
case M:
if (verbose & vmsg) printk(BIOS_SPEW, "%ld: %s\n",
globalmicroseconds(), id->msg);
@@ -193,7 +193,7 @@ static int run(int index)
if (id->addr == PCH_PP_CONTROL){
if (verbose & vio)
printk(BIOS_SPEW, "PCH_PP_CONTROL\n");
- switch(id->data & 0xf){
+ switch (id->data & 0xf) {
case 8: break;
case 7: break;
default: udelay(100000);
diff --git a/src/mainboard/google/link/mainboard.c b/src/mainboard/google/link/mainboard.c
index 367e288c26..4919e6baed 100644
--- a/src/mainboard/google/link/mainboard.c
+++ b/src/mainboard/google/link/mainboard.c
@@ -58,7 +58,7 @@ static int int15_handler(void)
printk(BIOS_DEBUG, "%s: INT15 function %04x!\n",
__func__, X86_AX);
- switch(X86_AX) {
+ switch (X86_AX) {
case 0x5f34:
/*
* Set Panel Fitting Hook: