summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-01-14 00:58:53 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-01-15 01:19:59 +0000
commitf377713fc6b5434c6912b419bed5406ef13be782 (patch)
tree1111f98ef136cf854ba7d6c46e28d660bed96fee /src
parent40b5358c2accfb329b492a1b861b067c8303c6c5 (diff)
soc/amd/cezanne,picasso/uart: remove unneeded struct name
This struct isn't used anywhere else, so there's no need to name it. Change-Id: I22eda07f14096d2b7400e6ab715641ffd68fbc08 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reported-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49444 Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/cezanne/uart.c2
-rw-r--r--src/soc/amd/picasso/uart.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/cezanne/uart.c b/src/soc/amd/cezanne/uart.c
index 84f7c40078..9d10fd0eff 100644
--- a/src/soc/amd/cezanne/uart.c
+++ b/src/soc/amd/cezanne/uart.c
@@ -12,7 +12,7 @@
#include <soc/uart.h>
#include <types.h>
-static const struct _uart_info {
+static const struct {
uintptr_t base;
struct soc_amd_gpio mux[2];
} uart_info[] = {
diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c
index a77375e82a..24bc2c0f85 100644
--- a/src/soc/amd/picasso/uart.c
+++ b/src/soc/amd/picasso/uart.c
@@ -13,7 +13,7 @@
#include <soc/uart.h>
#include <types.h>
-static const struct _uart_info {
+static const struct {
uintptr_t base;
struct soc_amd_gpio mux[2];
} uart_info[] = {