xrt: Fix for mismatched parameter names

This commit is contained in:
Ryan Pavlik 2020-01-09 22:54:01 +00:00 committed by Jakob Bornecrantz
parent ae466ce70e
commit 13c099f59e
4 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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;
}

View file

@ -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);
}

View file

@ -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);
}