This commit is contained in:
aramya 2023-07-01 12:35:19 +01:00
parent cf626c7eab
commit a7a68be57c
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ phandle parent(phandle _parent)
return ofw_arg.ret; return ofw_arg.ret;
} }
phandle instance_to_package(ihandle _instance) phandle instance_to_package(ihandle instance)
{ {
struct struct
{ {
@ -53,7 +53,7 @@ phandle instance_to_package(ihandle _instance)
SERVICE("instance-to-package", 20, 1, 1); SERVICE("instance-to-package", 20, 1, 1);
ofw_arg.arg = _instance; ofw_arg.arg = instance;
ofw(&ofw_arg); ofw(&ofw_arg);
return ofw_arg.ret; return ofw_arg.ret;