From a7a68be57c0a31a78f0f8337bad632ebd8abbe3b Mon Sep 17 00:00:00 2001 From: aramya <22577625+thamugadi@users.noreply.github.com> Date: Sat, 1 Jul 2023 12:35:19 +0100 Subject: [PATCH] cleaning --- entry/devicetree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry/devicetree.c b/entry/devicetree.c index d498d15..9599c02 100644 --- a/entry/devicetree.c +++ b/entry/devicetree.c @@ -40,7 +40,7 @@ phandle parent(phandle _parent) return ofw_arg.ret; } -phandle instance_to_package(ihandle _instance) +phandle instance_to_package(ihandle instance) { struct { @@ -53,7 +53,7 @@ phandle instance_to_package(ihandle _instance) SERVICE("instance-to-package", 20, 1, 1); - ofw_arg.arg = _instance; + ofw_arg.arg = instance; ofw(&ofw_arg); return ofw_arg.ret;