mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
xrt: Fix for mismatched parameter names
This commit is contained in:
parent
ae466ce70e
commit
13c099f59e
|
@ -302,7 +302,7 @@ xrt_prober_destroy(struct xrt_prober **xp_ptr)
|
||||||
* @ingroup xrt_iface
|
* @ingroup xrt_iface
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
xrt_prober_create(struct xrt_prober **out_prober);
|
xrt_prober_create(struct xrt_prober **out_xp);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Used by the target binary to create the prober with a list of drivers.
|
* Used by the target binary to create the prober with a list of drivers.
|
||||||
|
@ -310,7 +310,7 @@ xrt_prober_create(struct xrt_prober **out_prober);
|
||||||
* @ingroup xrt_iface
|
* @ingroup xrt_iface
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
xrt_prober_create_with_lists(struct xrt_prober **out_prober,
|
xrt_prober_create_with_lists(struct xrt_prober **out_xp,
|
||||||
struct xrt_prober_entry_lists *list);
|
struct xrt_prober_entry_lists *list);
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -89,7 +89,7 @@ destroy(struct xrt_prober **xp);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
xrt_prober_create_with_lists(struct xrt_prober **out_prober,
|
xrt_prober_create_with_lists(struct xrt_prober **out_xp,
|
||||||
struct xrt_prober_entry_lists *lists)
|
struct xrt_prober_entry_lists *lists)
|
||||||
{
|
{
|
||||||
struct prober *p = U_TYPED_CALLOC(struct prober);
|
struct prober *p = U_TYPED_CALLOC(struct prober);
|
||||||
|
@ -100,7 +100,7 @@ xrt_prober_create_with_lists(struct xrt_prober **out_prober,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
*out_prober = &p->base;
|
*out_xp = &p->base;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@ struct xrt_prober_entry_lists list = {
|
||||||
};
|
};
|
||||||
|
|
||||||
int
|
int
|
||||||
xrt_prober_create(struct xrt_prober **out_prober)
|
xrt_prober_create(struct xrt_prober **out_xp)
|
||||||
{
|
{
|
||||||
return xrt_prober_create_with_lists(out_prober, &list);
|
return xrt_prober_create_with_lists(out_xp, &list);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "target_lists.h"
|
#include "target_lists.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
xrt_prober_create(struct xrt_prober **out_prober)
|
xrt_prober_create(struct xrt_prober **out_xp)
|
||||||
{
|
{
|
||||||
return xrt_prober_create_with_lists(out_prober, &target_lists);
|
return xrt_prober_create_with_lists(out_xp, &target_lists);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue