xfree86: platform_noop: add missing functions

In order to be able to build on Linux w/ platform_noop
(when no recent enough libdrm found), a few more dummy functions
are needed here.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1848>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-28 15:05:46 +01:00 committed by Marge Bot
parent fe9c911e22
commit e2ac461629

View File

@ -3,6 +3,8 @@
#include <xorg-config.h> #include <xorg-config.h>
#endif #endif
#include "config/hotplug_priv.h"
#ifdef XSERVER_PLATFORM_BUS #ifdef XSERVER_PLATFORM_BUS
/* noop platform device support */ /* noop platform device support */
#include "xf86_OSproc.h" #include "xf86_OSproc.h"
@ -19,6 +21,18 @@ xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *bu
void xf86PlatformDeviceProbe(struct OdevAttributes *attribs) void xf86PlatformDeviceProbe(struct OdevAttributes *attribs)
{ {
} }
void xf86PlatformReprobeDevice(int index, struct OdevAttributes *attribs)
{
}
void DeleteGPUDeviceRequest(struct OdevAttributes *attribs)
{
}
void NewGPUDeviceRequest(struct OdevAttributes *attribs)
{
}
#endif #endif