summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-25 11:51:43 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-26 23:57:12 +0000
commiteb9e63f21f44598027105a641fd72c67c44e7a7d (patch)
treeb479d526143ec466c5f041fc7cac07294a066cdc /src/soc/amd
parent98d76cb7080dc5d0ed8350285c1f0f24fab59d12 (diff)
src: Add missing 'void' in function definition
Change-Id: I7fa1f9402b177a036f08bf99c98a6191c35fa0b5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61371 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/cezanne/config.c2
-rw-r--r--src/soc/amd/picasso/config.c2
-rw-r--r--src/soc/amd/sabrina/config.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/cezanne/config.c b/src/soc/amd/cezanne/config.c
index b5855eb40f..577f2aeb97 100644
--- a/src/soc/amd/cezanne/config.c
+++ b/src/soc/amd/cezanne/config.c
@@ -4,7 +4,7 @@
#include <device/device.h>
#include "chip.h"
-const struct soc_amd_common_config *soc_get_common_config()
+const struct soc_amd_common_config *soc_get_common_config(void)
{
/* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
const struct soc_amd_cezanne_config *cfg = config_of_soc();
diff --git a/src/soc/amd/picasso/config.c b/src/soc/amd/picasso/config.c
index 577d7b29a8..f1384bb5b0 100644
--- a/src/soc/amd/picasso/config.c
+++ b/src/soc/amd/picasso/config.c
@@ -4,7 +4,7 @@
#include <device/device.h>
#include "chip.h"
-const struct soc_amd_common_config *soc_get_common_config()
+const struct soc_amd_common_config *soc_get_common_config(void)
{
/* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
const struct soc_amd_picasso_config *cfg = config_of_soc();
diff --git a/src/soc/amd/sabrina/config.c b/src/soc/amd/sabrina/config.c
index ef1d5561d3..187f1664bc 100644
--- a/src/soc/amd/sabrina/config.c
+++ b/src/soc/amd/sabrina/config.c
@@ -6,7 +6,7 @@
#include <device/device.h>
#include "chip.h"
-const struct soc_amd_common_config *soc_get_common_config()
+const struct soc_amd_common_config *soc_get_common_config(void)
{
/* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
const struct soc_amd_sabrina_config *cfg = config_of_soc();