summaryrefslogtreecommitdiff
path: root/src/drivers/pc80
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-07-23 20:00:04 -0600
committerMartin Roth <martinroth@google.com>2017-07-28 16:24:57 +0000
commitb9810a4cd6ec082eaab476540324ae927cae1b53 (patch)
tree65033127f948190bab1a613bc8a374f5734097f8 /src/drivers/pc80
parente5f2d4c44c3222cfad881fe24a65c1dc2cfa5cda (diff)
downloadcoreboot-b9810a4cd6ec082eaab476540324ae927cae1b53.tar.xz
src/drivers: Fix checkpatch warning: no spaces at the start of a line
This excludes files which are mostly spaces, which I felt should be handled separately. Change-Id: I33043a3090e2fc6e9d2fd81e8a5e46fb6cb0aa35 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20731 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/drivers/pc80')
-rw-r--r--src/drivers/pc80/tpm/tpm.c2
-rw-r--r--src/drivers/pc80/vga/vga.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/pc80/tpm/tpm.c b/src/drivers/pc80/tpm/tpm.c
index 0fdf548868..e9730a99c5 100644
--- a/src/drivers/pc80/tpm/tpm.c
+++ b/src/drivers/pc80/tpm/tpm.c
@@ -58,7 +58,7 @@
/* the macro accepts the locality value, but only locality 0 is operational */
#define TIS_REG(LOCALITY, REG) \
- (void *)(CONFIG_TPM_TIS_BASE_ADDRESS + (LOCALITY << 12) + REG)
+ (void *)(CONFIG_TPM_TIS_BASE_ADDRESS + (LOCALITY << 12) + REG)
/* hardware registers' offsets */
#define TIS_REG_ACCESS 0x0
diff --git a/src/drivers/pc80/vga/vga.h b/src/drivers/pc80/vga/vga.h
index 1e6e750b89..a6fb2b4886 100644
--- a/src/drivers/pc80/vga/vga.h
+++ b/src/drivers/pc80/vga/vga.h
@@ -5,9 +5,9 @@
* Basic palette.
*/
struct palette {
- unsigned char red;
- unsigned char green;
- unsigned char blue;
+ unsigned char red;
+ unsigned char green;
+ unsigned char blue;
};
extern const struct palette default_vga_palette[0x100];