diff options
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) |