[PATCH v3 6/6] platform: generic: Drop root_offset parameter from fw_platform_lookup_special()
Prabhakar
prabhakar.csengg at gmail.com
Wed Nov 30 14:08:25 PST 2022
From: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
root_offset parameter isn't used in fw_platform_lookup_special() so
just drop it.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
---
v2->v3
* New patch
---
platform/generic/platform.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/platform/generic/platform.c b/platform/generic/platform.c
index 595b0fd..fb5f476 100644
--- a/platform/generic/platform.c
+++ b/platform/generic/platform.c
@@ -32,7 +32,7 @@ extern unsigned long platform_override_modules_size;
static const struct platform_override *generic_plat = NULL;
static const struct fdt_match *generic_plat_match = NULL;
-static void fw_platform_lookup_special(void *fdt, int root_offset)
+static void fw_platform_lookup_special(void *fdt)
{
int pos, noff;
const struct platform_override *plat;
@@ -83,7 +83,7 @@ unsigned long fw_platform_init(unsigned long arg0, unsigned long arg1,
if (root_offset < 0)
goto fail;
- fw_platform_lookup_special(fdt, root_offset);
+ fw_platform_lookup_special(fdt);
model = fdt_getprop(fdt, root_offset, "model", &len);
if (model)
--
2.17.1
More information about the opensbi
mailing list