summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/nvidia/tegra124/power.c4
-rw-r--r--src/soc/nvidia/tegra124/sdram_lp0.c4
-rw-r--r--src/soc/nvidia/tegra210/power.c2
-rw-r--r--src/soc/nvidia/tegra210/sdram_lp0.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/nvidia/tegra124/power.c b/src/soc/nvidia/tegra124/power.c
index 3817dd96ed..8e9579c0dd 100644
--- a/src/soc/nvidia/tegra124/power.c
+++ b/src/soc/nvidia/tegra124/power.c
@@ -8,8 +8,8 @@
#include <soc/pmc.h>
#include <soc/power.h>
-static struct tegra_pmc_regs * const pmc = (void *)TEGRA_PMC_BASE;
-static struct flow_ctlr * const flow = (void *)TEGRA_FLOW_BASE;
+static struct tegra_pmc_regs *const pmc = (void *)TEGRA_PMC_BASE;
+static struct flow_ctlr *const flow = (void *)TEGRA_FLOW_BASE;
static int partition_powered(int id)
{
diff --git a/src/soc/nvidia/tegra124/sdram_lp0.c b/src/soc/nvidia/tegra124/sdram_lp0.c
index ef3c716840..5361780919 100644
--- a/src/soc/nvidia/tegra124/sdram_lp0.c
+++ b/src/soc/nvidia/tegra124/sdram_lp0.c
@@ -23,8 +23,8 @@
*/
void sdram_lp0_save_params(const struct sdram_params *sdram)
{
- struct tegra_pmc_regs * pmc = (void *)TEGRA_PMC_BASE;
- struct clk_rst_ctlr * clk_rst = (void *)TEGRA_CLK_RST_BASE;
+ struct tegra_pmc_regs *pmc = (void *)TEGRA_PMC_BASE;
+ struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;
#define pack(src, src_bits, dst, dst_bits) { \
_Static_assert((1 ? src_bits) >= (0 ? src_bits) && (1 ? dst_bits) >= \
diff --git a/src/soc/nvidia/tegra210/power.c b/src/soc/nvidia/tegra210/power.c
index 4968c85120..4d74142d63 100644
--- a/src/soc/nvidia/tegra210/power.c
+++ b/src/soc/nvidia/tegra210/power.c
@@ -7,7 +7,7 @@
#include <soc/pmc.h>
#include <soc/power.h>
-static struct tegra_pmc_regs * const pmc = (void *)TEGRA_PMC_BASE;
+static struct tegra_pmc_regs *const pmc = (void *)TEGRA_PMC_BASE;
enum {
POWER_GATE = 0,
diff --git a/src/soc/nvidia/tegra210/sdram_lp0.c b/src/soc/nvidia/tegra210/sdram_lp0.c
index 5d65b2dd61..81402cd78a 100644
--- a/src/soc/nvidia/tegra210/sdram_lp0.c
+++ b/src/soc/nvidia/tegra210/sdram_lp0.c
@@ -12,7 +12,7 @@
*/
void sdram_lp0_save_params(const struct sdram_params *sdram)
{
- struct tegra_pmc_regs * pmc = (void *)TEGRA_PMC_BASE;
+ struct tegra_pmc_regs *pmc = (void *)TEGRA_PMC_BASE;
#define pack(src, src_bits, dst, dst_bits) { \
_Static_assert((1 ? src_bits) >= (0 ? src_bits) && (1 ? dst_bits) >= \