summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 15:11:07 -0800
committerMartin Roth <martinroth@google.com>2017-03-12 15:46:23 +0100
commit6625ecc3448b59b6adde3f10674cd578f06f786f (patch)
tree489719e94b16ce5fd9659d2d3fad5b85864f84df /src/include/cpu/x86
parent84d20d0eb3869d7babaeed7cfbe53f9edad48850 (diff)
downloadcoreboot-6625ecc3448b59b6adde3f10674cd578f06f786f.tar.xz
src/include: Open brace on same line as enum or struct
Fix the following errors and warning detected by checkpatch.pl: ERROR: open brace '{' following enum go on the same line ERROR: open brace '{' following struct go on the same line ERROR: that open brace { should be on the previous line WARNING: missing space after struct definition TEST=Build and run on Galileo Gen2 Change-Id: I856235d0cc3a3e59376df52561b17b872b3416b2 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18653 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include/cpu/x86')
-rw-r--r--src/include/cpu/x86/msr.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/cpu/x86/msr.h b/src/include/cpu/x86/msr.h
index c663d29c36..1175f3b1ba 100644
--- a/src/include/cpu/x86/msr.h
+++ b/src/include/cpu/x86/msr.h
@@ -17,14 +17,12 @@ static void wrmsr(unsigned long index, msr_t msr)
#else
-typedef struct msr_struct
-{
+typedef struct msr_struct {
unsigned int lo;
unsigned int hi;
} msr_t;
-typedef struct msrinit_struct
-{
+typedef struct msrinit_struct {
unsigned int index;
msr_t msr;
} msrinit_t;