diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-07-08 12:36:18 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-07-09 09:28:35 +0000 |
commit | c92f5f218f7287ecff4be65b4c6b5b5f24e90cb7 (patch) | |
tree | e3c60d49441a7fa0609a0f52b6c575a41c4bd745 /src | |
parent | b0b0c8c60a6072d1b0707f9b9b87650570b35ea3 (diff) | |
download | coreboot-c92f5f218f7287ecff4be65b4c6b5b5f24e90cb7.tar.xz |
src/{ec,include,lib}: Use "foo *bar" instead of "foo* bar"
Change-Id: I447aaa1850b7e8b514a8c4c04bf5b426d3d1cd0a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/27405
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/google/chromeec/crosec_proto.c | 2 | ||||
-rw-r--r-- | src/include/cpu/amd/car.h | 4 | ||||
-rw-r--r-- | src/lib/rtc.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/ec/google/chromeec/crosec_proto.c b/src/ec/google/chromeec/crosec_proto.c index 1a8ffb93c5..2529854f26 100644 --- a/src/ec/google/chromeec/crosec_proto.c +++ b/src/ec/google/chromeec/crosec_proto.c @@ -24,7 +24,7 @@ #include "ec_message.h" /* Common utilities */ -void * __weak crosec_get_buffer(size_t size, int req) +void *__weak crosec_get_buffer(size_t size, int req) { printk(BIOS_DEBUG, "crosec_get_buffer() implementation required.\n"); return NULL; diff --git a/src/include/cpu/amd/car.h b/src/include/cpu/amd/car.h index 288edb28c2..359fa6bb8b 100644 --- a/src/include/cpu/amd/car.h +++ b/src/include/cpu/amd/car.h @@ -4,14 +4,14 @@ #include <arch/cpu.h> void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx); -asmlinkage void * post_cache_as_ram(void); +asmlinkage void *post_cache_as_ram(void); asmlinkage void cache_as_ram_new_stack(void); void disable_cache_as_ram(void); void asmlinkage early_all_cores(void); -void * asmlinkage romstage_main(unsigned long bist); +void *asmlinkage romstage_main(unsigned long bist); void asmlinkage romstage_after_car(void); #endif diff --git a/src/lib/rtc.c b/src/lib/rtc.c index bd98590d96..c5c157f8bd 100644 --- a/src/lib/rtc.c +++ b/src/lib/rtc.c @@ -31,7 +31,7 @@ static const int month_offset[] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 }; -static const char * const weekdays[] = { +static const char *const weekdays[] = { "Sun", "Mon", "Tues", "Wednes", "Thurs", "Fri", "Satur", }; |