diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-07-08 12:39:34 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-07-09 09:29:53 +0000 |
commit | fd051dc018346e5947d9d8733e269fc5020236ba (patch) | |
tree | d12a70629b7565c20643c97ca8a933c4344e5b7b /src/northbridge/amd/amdht | |
parent | 95bca33efa280e606f7c6d41541cec67c0eb227f (diff) | |
download | coreboot-fd051dc018346e5947d9d8733e269fc5020236ba.tar.xz |
src/northbridge: Use "foo *bar" instead of "foo* bar"
Change-Id: Iaf86a0c91da089b486bd39518e5c8216163bf8ec
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/27407
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/northbridge/amd/amdht')
-rw-r--r-- | src/northbridge/amd/amdht/h3gtopo.h | 2 | ||||
-rw-r--r-- | src/northbridge/amd/amdht/ht_wrapper.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/northbridge/amd/amdht/h3gtopo.h b/src/northbridge/amd/amdht/h3gtopo.h index 7baba303dc..e211d4c006 100644 --- a/src/northbridge/amd/amdht/h3gtopo.h +++ b/src/northbridge/amd/amdht/h3gtopo.h @@ -324,7 +324,7 @@ static u8 const amdHtTopologyEightTwistedLadder[] = { 0x00, 0x55, 0x00, 0x55, 0x00, 0x55, 0x00, 0x55, 0x00, 0x65, 0x40, 0x55, 0x00, 0x66, 0x60, 0xFF // Node7 }; -static const u8 * const amd_topo_list[] = { +static const u8 *const amd_topo_list[] = { amdHtTopologySingleNode, amdHtTopologyDualNode, amdHtTopologyThreeLine, diff --git a/src/northbridge/amd/amdht/ht_wrapper.c b/src/northbridge/amd/amdht/ht_wrapper.c index f4e8337c8d..08ecb4d300 100644 --- a/src/northbridge/amd/amdht/ht_wrapper.c +++ b/src/northbridge/amd/amdht/ht_wrapper.c @@ -65,7 +65,7 @@ static const char * event_class_string_decodes[] = { typedef struct { uint32_t code; - const char * string; + const char *string; } event_string_decode_t; static const event_string_decode_t event_string_decodes[] = { @@ -90,7 +90,8 @@ static const event_string_decode_t event_string_decodes[] = { { HT_EVENT_HW_HTCRC, "HT_EVENT_HW_HTCRC" } }; -static const char * event_string_decode(uint32_t event) { +static const char *event_string_decode(uint32_t event) +{ uint32_t i; for (i = 0; i < ARRAY_SIZE(event_string_decodes); i++) if (event_string_decodes[i].code == event) |