mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +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
|
||||
*/
|
||||
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.
|
||||
|
@ -310,7 +310,7 @@ xrt_prober_create(struct xrt_prober **out_prober);
|
|||
* @ingroup xrt_iface
|
||||
*/
|
||||
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);
|
||||
|
||||
bool
|
||||
|
|
|
@ -89,7 +89,7 @@ destroy(struct xrt_prober **xp);
|
|||
*/
|
||||
|
||||
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 prober *p = U_TYPED_CALLOC(struct prober);
|
||||
|
@ -100,7 +100,7 @@ xrt_prober_create_with_lists(struct xrt_prober **out_prober,
|
|||
return ret;
|
||||
}
|
||||
|
||||
*out_prober = &p->base;
|
||||
*out_xp = &p->base;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ struct xrt_prober_entry_lists list = {
|
|||
};
|
||||
|
||||
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"
|
||||
|
||||
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