Rename this function to better reflect it's location
and what structs it relates to.
Signed-off-by: Robert Foss <rfoss@kernel.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23742>
* Must be called with the global lock held.
*/
static int
-_eglRefreshDeviceList(void)
+_eglDeviceRefreshList(void)
{
ASSERTED _EGLDevice *dev;
int count = 0;
simple_mtx_lock(_eglGlobal.Mutex);
- num_devs = _eglRefreshDeviceList();
+ num_devs = _eglDeviceRefreshList();
devs = _eglGlobal.DeviceList;
#ifdef GALLIUM_SOFTPIPE