diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-08-25 20:57:08 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-31 20:24:20 +0200 |
commit | 2b010b8795de84b6753c5e49d6a73c25fee96da1 (patch) | |
tree | 55efcad396e656d06e44619352d71d919ee5fb04 /src/ec/quanta/ene_kb3940q | |
parent | 195c26810d103e69adc629fa72b6eec33f2dd901 (diff) |
src/ec: Add required space before opening parenthesis '('
Change-Id: I013f71b702644ab337c3d76be1489530bad6e6cc
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16322
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/ec/quanta/ene_kb3940q')
-rw-r--r-- | src/ec/quanta/ene_kb3940q/ec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/quanta/ene_kb3940q/ec.c b/src/ec/quanta/ene_kb3940q/ec.c index 8b3f18a839..5e4aa47afa 100644 --- a/src/ec/quanta/ene_kb3940q/ec.c +++ b/src/ec/quanta/ene_kb3940q/ec.c @@ -32,7 +32,7 @@ static int ec_input_buffer_empty(u8 status_port) { u32 timeout; - for(timeout = KBC_TIMEOUT_IN_MS; timeout && (inb(status_port) & KBD_IBF); + for (timeout = KBC_TIMEOUT_IN_MS; timeout && (inb(status_port) & KBD_IBF); timeout--) { mdelay(1); } @@ -47,7 +47,7 @@ static int ec_input_buffer_empty(u8 status_port) static int ec_output_buffer_full(u8 status_port) { u32 timeout; - for(timeout = KBC_TIMEOUT_IN_MS; timeout && ((inb(status_port) + for (timeout = KBC_TIMEOUT_IN_MS; timeout && ((inb(status_port) & KBD_OBF) == 0); timeout--) { mdelay(1); } |