targets: Add stub implementations of xrt_gfx_provider_create_fd

This is needed by st/prober's default implementation of xrt_instance.
This commit is contained in:
Jakob Bornecrantz 2020-04-10 13:47:30 +01:00
parent 3b084b5c91
commit fa0789343e
2 changed files with 14 additions and 0 deletions

View file

@ -51,3 +51,10 @@ main(int argc, const char **argv)
}
return cli_print_help(argc, argv);
}
//! Needed to support st/prober.
int
xrt_gfx_provider_create_fd()
{
return -1;
}

View file

@ -57,3 +57,10 @@ main(int argc, char **argv)
return 0;
}
//! Needed to support st/prober.
int
xrt_gfx_provider_create_fd()
{
return -1;
}